refactor: use promise all

This commit is contained in:
José Oliveira 2021-07-09 15:35:23 +01:00 committed by Josh Harvey
parent ad30468708
commit 686c7a2b36
2 changed files with 16 additions and 13 deletions

View file

@ -9,10 +9,15 @@ const AUTHENTICATOR_ISSUER_ENTITY = 'Lamassu'
const AUTH_TOKEN_EXPIRATION_TIME = '30 minutes'
const REGISTRATION_TOKEN_EXPIRATION_TIME = '30 minutes'
const AUTOMATIC = 'automatic'
const MANUAL = 'manual'
module.exports = {
anonymousCustomer,
cassetteMaxCapacity,
AUTHENTICATOR_ISSUER_ENTITY,
AUTH_TOKEN_EXPIRATION_TIME,
REGISTRATION_TOKEN_EXPIRATION_TIME
REGISTRATION_TOKEN_EXPIRATION_TIME,
AUTOMATIC,
MANUAL
}