mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-25 01:49:29 -05:00
Add error id for expired auth tokens
This commit is contained in:
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user