|
@@ -31,10 +31,6 @@ export class UserLoginService {
|
|
|
throw new Error(`Unsupported loginAt type: ${typeof loginAt}`);
|
|
throw new Error(`Unsupported loginAt type: ${typeof loginAt}`);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * Record login history in box-stats DB.
|
|
|
|
|
- * NOTE: User model is no longer stored in box-stats.
|
|
|
|
|
- */
|
|
|
|
|
async recordLogin(event: UserLoginEventPayload): Promise<void> {
|
|
async recordLogin(event: UserLoginEventPayload): Promise<void> {
|
|
|
const createAt = this.toEpochSecondsBigInt((event as any).loginAt);
|
|
const createAt = this.toEpochSecondsBigInt((event as any).loginAt);
|
|
|
|
|
|