chore: Flag users with platform used

This commit is contained in:
Tom Moor
2022-09-18 17:53:55 -04:00
parent ae697339ac
commit f8912732b8
6 changed files with 32 additions and 13 deletions

View File

@@ -123,7 +123,7 @@ export default function auth(options: AuthenticationOptions = {}) {
}
// not awaiting the promise here so that the request is not blocked
user.updateActiveAt(ctx.request.ip).catch((err) => {
user.updateActiveAt(ctx).catch((err) => {
Logger.error("Failed to update user activeAt", err);
});