refactor: improve news and email handling, style, folder structure (#16)
This commit is contained in:
6
utils/statusCodes.ts
Normal file
6
utils/statusCodes.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const STATUS_OK = 200;
|
||||
export const STATUS_BAD_REQUEST = 400;
|
||||
export const BAD_REQUEST = 'Bad request';
|
||||
export const STATUS_INTERNAL_SERVER_ERROR = 500;
|
||||
export const INTERNAL_SERVER_ERROR = 'Internal server error';
|
||||
export const STATUS_UNAUTHORIZED = 401;
|
||||
Reference in New Issue
Block a user