We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0f6d8 commit 3daaecdCopy full SHA for 3daaecd
src/apiKey.js
@@ -87,7 +87,7 @@ function extendLifeCycle (server, options, url) {
87
88
request.headers.authorization = `Bearer ${token}`
89
} catch (err) {
90
- throw raiseUnauthorized(null, errorMessages.apiKey, err.message)
+ throw raiseUnauthorized(errorMessages.apiKey, err.message, options.prefix.trim())
91
}
92
93
0 commit comments