Skip to content

Commit 0f588ba

Browse files
committed
fix: indentation
1 parent 6ed6415 commit 0f588ba

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

backend/setup.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -155,30 +155,30 @@ const setupDefaultSettings = () => {
155155
logger.debug('Default setting setup not required');
156156
}
157157
}),
158-
settingModel
159-
.query()
160-
.select(settingModel.raw('COUNT(`id`) as `count`'))
161-
.where({id: 'oidc-config'})
162-
.first()
163-
.then((row) => {
164-
if (!row.count) {
165-
settingModel
166-
.query()
167-
.insert({
168-
id: 'oidc-config',
169-
name: 'Open ID Connect',
170-
description: 'Sign in to Nginx Proxy Manager with an external Identity Provider',
171-
value: 'metadata',
172-
meta: {},
173-
})
174-
.then(() => {
175-
logger.info('Added oidc-config setting');
176-
});
177-
}
178-
if (debug_mode) {
179-
logger.debug('Default setting setup not required');
180-
}
181-
})]);
158+
settingModel
159+
.query()
160+
.select(settingModel.raw('COUNT(`id`) as `count`'))
161+
.where({id: 'oidc-config'})
162+
.first()
163+
.then((row) => {
164+
if (!row.count) {
165+
settingModel
166+
.query()
167+
.insert({
168+
id: 'oidc-config',
169+
name: 'Open ID Connect',
170+
description: 'Sign in to Nginx Proxy Manager with an external Identity Provider',
171+
value: 'metadata',
172+
meta: {},
173+
})
174+
.then(() => {
175+
logger.info('Added oidc-config setting');
176+
});
177+
}
178+
if (debug_mode) {
179+
logger.debug('Default setting setup not required');
180+
}
181+
})]);
182182
};
183183

184184
/**

0 commit comments

Comments
 (0)