Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Oct 29, 2024
1 parent 0e89079 commit 9a20241
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routes/api/token/manage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export const handler: Handlers = {
const offset = await parse_big_int(data.get("offset"), null);
const limit = await parse_big_int(data.get("limit"), null);
const all_user = await parse_bool(data.get("all_user"), false);
if (all_user) {
uid = null;
}
const m = get_task_manager();
if (user) {
if (!all_user && uid === null) uid = user.id;
Expand Down

0 comments on commit 9a20241

Please sign in to comment.