API Key based auth feature/26-api_auth #27

Merged
niggl merged 4 commits from feature/26-api_auth into dev 2021-02-13 20:09:38 +00:00
Showing only changes of commit 7be211f8b7 - Show all commits

View File

@ -47,5 +47,6 @@ function getApiKey(): string {
consola.error(`API key is too short - minimum: 64, current: ${key.length}`) consola.error(`API key is too short - minimum: 64, current: ${key.length}`)
throw new Error("API_KEY too short.") throw new Error("API_KEY too short.")
} }
return key
} }
export let e = errors export let e = errors