API Key based auth feature/26-api_auth #27
@ -47,5 +47,6 @@ function getApiKey(): string {
|
||||
consola.error(`API key is too short - minimum: 64, current: ${key.length}`)
|
||||
throw new Error("API_KEY too short.")
|
||||
}
|
||||
return key
|
||||
}
|
||||
export let e = errors
|
Loading…
x
Reference in New Issue
Block a user