This commit is contained in:
GotPPay
2018-01-12 01:56:17 +01:00
parent 4c8c1c5e0e
commit b80843cb97
20 changed files with 482 additions and 453 deletions

View File

@@ -0,0 +1,25 @@
const constants = {};
constants.amazonResultCodes = {
ok:200,
accepted:202,
badRequest:400,
unauthorized:401,
notFound:404,
conflict:409,
payloadTooLarge:413
}
constants.apiResultCodes = {
genericError : -1,
ok:0,
amazonError:1,
databaseError:2,
}
constants.skillIDLength = 24;
module.exports = constants;