Changeset 8fe7f1a for pages/+Layout.telefunc.ts
- Timestamp:
- 12/28/25 17:27:19 (6 months ago)
- Branches:
- main
- Children:
- 1ac9ee4
- Parents:
- 67186d2
- File:
-
- 1 edited
-
pages/+Layout.telefunc.ts (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pages/+Layout.telefunc.ts
r67186d2 r8fe7f1a 108 108 if (!Number.isInteger(buildId) || buildId <= 0) throw Abort(); 109 109 110 const newBuild = await drizzleQueries.cloneBuild(c.db, userId, buildId);110 const clonedBuildId = await drizzleQueries.cloneBuild(c.db, userId, buildId); 111 111 112 if (! newBuild) throw Abort();112 if (!clonedBuildId) throw Abort(); 113 113 114 return newBuild;114 return clonedBuildId; 115 115 } 116 116 … … 123 123 if (!newBuildId) throw Abort(); 124 124 125 return { buildId: newBuildId };125 return newBuildId; 126 126 } 127
Note:
See TracChangeset
for help on using the changeset viewer.
