mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
Add error id for expired auth tokens
This commit is contained in:
parent
21444daefb
commit
c70e378973
@ -319,6 +319,10 @@ module.exports = class APIError {
|
||||
status: 401,
|
||||
message: 'This authentication token is not supported here.',
|
||||
},
|
||||
'token_expired': {
|
||||
status: 401,
|
||||
message: 'Authentication token has expired.',
|
||||
},
|
||||
'account_suspended': {
|
||||
status: 403,
|
||||
message: 'Account suspended.',
|
||||
|
Loading…
Reference in New Issue
Block a user