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 379a263 commit 3b46d12Copy full SHA for 3b46d12
src/database/core/Repo.ts
@@ -84,7 +84,7 @@ export class Repo {
84
const authOverride = app.options['databaseAuthVariableOverride'];
85
// Validate authOverride
86
if (typeof authOverride !== 'undefined' && authOverride !== null) {
87
- if (authOverride !== 'object') {
+ if (typeof authOverride !== 'object') {
88
throw new Error('Only objects are supported for option databaseAuthVariableOverride');
89
}
90
try {
0 commit comments