fix: added back missing topic thumb tests that were removed in last commit

This commit is contained in:
Julian Lam
2020-12-04 16:42:39 -05:00
parent 5ec3b3d083
commit c043cfebd6
4 changed files with 34 additions and 4 deletions

View File

@@ -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;