Skip to content

Commit ec3f4c3

Browse files
Fix bug in start parameter conversion***
1 parent 25a5844 commit ec3f4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/users/me/bugs/_get/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class Route extends UserRoute<{
2727
super({ ...configuration, element: "bugs" });
2828
this.setId(0);
2929
const query = this.getQuery();
30-
if (query.start) this.start = query.start;
30+
if (query.start) this.start = Number(query.start as unknown as string);
3131
if (query.limit) this.limit = Number(query.limit as unknown as string);
3232

3333
if (query.orderBy) this.orderBy = query.orderBy;

0 commit comments

Comments
 (0)