mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-10 11:16:10 +01:00
10 lines
229 B
TypeScript
10 lines
229 B
TypeScript
import { usersDatabase } from './users';
|
|
|
|
export async function flagUserActivity(blitzId: number) {
|
|
await usersDatabase.user.upsert({
|
|
where: { blitz_id: blitzId },
|
|
update: {},
|
|
create: { blitz_id: blitzId },
|
|
});
|
|
}
|