v2 user routes complete

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface
2023-06-20 21:47:32 +01:00
parent eb80d7386e
commit 72444e9fc9
4 changed files with 45 additions and 23 deletions

View File

@@ -1,4 +1,5 @@
const statusCodes = {
400: 'data not found',
700: 'no authentication attempt',
701: 'invalid credentials',
702: 'domain not whitelisted',
@@ -6,7 +7,9 @@ const statusCodes = {
800: 'location code not found',
801: 'unable to fetch location data',
900: 'invalid request format',
901: 'email not provided',
950: 'upstream server error',
951: 'unknown server error'
};
module.exports = statusCodes;