Skip to content

Commit

Permalink
fix: 布尔值项返回整型
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Aug 28, 2024
1 parent ed26c5c commit 7164cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class Server {
id: user.id,
login: user.username,
avatar_url: user.photo,
is_super_user: user.isSuperUser
is_super_user: Boolean(user.isSuperUser)
});
});
this.app.post('/93AtHome/dashboard/user/bindCluster', (req: Request, res: Response) => {
Expand Down

0 comments on commit 7164cc0

Please sign in to comment.