Update visit count and password hashing

This commit is contained in:
Sean Morley
2024-04-10 23:34:48 +00:00
parent 549840128f
commit 70e23b8878
3 changed files with 22 additions and 3 deletions

View File

@@ -20,8 +20,6 @@ export async function GET(event: RequestEvent): Promise<Response> {
.where(eq(userVisitedAdventures.userId,event.locals.user.id))
.execute();
console.log(result[0].count);
return new Response(
JSON.stringify({
visitCount: result[0].count,