Skip to content

Commit e8057db

Browse files
committed
🧹 chore(elysia) update Elysia to 1.2
1 parent 4eaf1b6 commit e8057db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/TypeScript/elysia/src/db-handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function rand() {
88

99
function parseQueriesNumber(q?: string) {
1010
// NaN is falsy, fallback to one.
11-
return Math.min(+(q as string) || 1, 500);
11+
return Math.min(+q! || 1, 500);
1212
}
1313

1414
export const dbHandlers = new Elysia()

0 commit comments

Comments
 (0)