mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00: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