- Timestamp:
- 12/25/25 01:49:51 (7 months ago)
- Branches:
- main
- Children:
- e7f1bfa
- Parents:
- d4842f4
- Location:
- pages
- Files:
-
- 4 edited
-
+Layout.telefunc.ts (modified) (2 diffs)
-
auth/register/register.telefunc.ts (modified) (1 diff)
-
dashboard/admin/adminDashboard.telefunc.ts (modified) (1 diff)
-
dashboard/user/userDashboard.telefunc.ts (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pages/+Layout.telefunc.ts
rd4842f4 r83fb5e2 29 29 if(!newSuggestionId) throw Abort(); 30 30 31 return newSuggestionId;31 return { success: true }; 32 32 } 33 33 … … 78 78 const isFavorite = await drizzleQueries.toggleFavoriteBuild(c.db, userId, buildId); 79 79 80 return isFavorite .favorite;80 return isFavorite; 81 81 } 82 82 -
pages/auth/register/register.telefunc.ts
rd4842f4 r83fb5e2 13 13 14 14 const passwordHash = await bcrypt.hash(password, 8); 15 await drizzleQueries.createUser(c.db, username, email, passwordHash); 15 const result = await drizzleQueries.createUser(c.db, username, email, passwordHash); 16 17 if(!result) throw Abort(); 16 18 17 19 return { success: true }; -
pages/dashboard/admin/adminDashboard.telefunc.ts
rd4842f4 r83fb5e2 61 61 if(!newComponentId) throw Abort(); 62 62 63 return newComponentId;63 return { success: true }; 64 64 } -
pages/dashboard/user/userDashboard.telefunc.ts
rd4842f4 r83fb5e2 28 28 const result = await drizzleQueries.deleteBuild(c.db, userId, buildId); 29 29 30 if(!result) throw Abort(); 31 30 32 return { success: true }; 31 33 }
Note:
See TracChangeset
for help on using the changeset viewer.
