mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(api): keep activity tracking out of the registration critical path (#1629)
This commit is contained in:
1 parent
2bb4c92f2b
commit
235399cfd6
2 files changed
+6
-2
No files matched your search
@@ -529,7 +529,9 @@ export class SsoService {
|
||||
isAdult: true,
|
||||
}),
|
||||
);
|
||||
await this.kvActivityTracker.updateActivity(user.id, now);
|
||||
void this.kvActivityTracker.updateActivity(user.id, now).catch((error: unknown) => {
|
||||
this.logger.warn({error, userId: user.id}, 'Failed to update real-time user activity');
|
||||
});
|
||||
return user;
|
||||
} catch (error) {
|
||||
if (!userCreated) {
|
||||
|
||||
Reference in new issue
Block a user