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

@@ -45,7 +45,7 @@ router.post("developer.create_test_users", dev(), auth(), async (ctx) => {
// Convert from invites to active users by marking as active
await Promise.all(
response.users.map((user) => user.updateActiveAt(ctx.request.ip, true))
response.users.map((user) => user.updateActiveAt(ctx, true))
);
ctx.body = {