Skip to content

Commit 3b46d12

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/core/Repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class Repo {
8484
const authOverride = app.options['databaseAuthVariableOverride'];
8585
// Validate authOverride
8686
if (typeof authOverride !== 'undefined' && authOverride !== null) {
87-
if (authOverride !== 'object') {
87+
if (typeof authOverride !== 'object') {
8888
throw new Error('Only objects are supported for option databaseAuthVariableOverride');
8989
}
9090
try {

0 commit comments

Comments
 (0)