mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fix: added back missing topic thumb tests that were removed in last commit
This commit is contained in:
@@ -470,6 +470,11 @@ helpers.generateError = (statusCode, message) => {
|
||||
payload.status.code = 'not-implemented';
|
||||
payload.status.message = message || 'The route you are trying to call is not implemented yet, please try again tomorrow';
|
||||
break;
|
||||
|
||||
case 503:
|
||||
payload.status.code = 'service-unavailable';
|
||||
payload.status.message = message || 'The route you are trying to call is not currently available due to a server configuration';
|
||||
break;
|
||||
}
|
||||
|
||||
return payload;
|
||||
|
||||
Reference in New Issue
Block a user