🐛 Fix naming with env variable

This commit is contained in:
ricardo 2022-04-29 16:01:37 -04:00
parent ffa829b9f6
commit 84e2ce53bc

View file

@ -392,7 +392,7 @@ class App {
this.endpointWebhookTest, this.endpointWebhookTest,
this.endpointPresetCredentials, this.endpointPresetCredentials,
]; ];
if (!config.getEnv('publicApiEndpoints.disable')) { if (!config.getEnv('publicApi.disabled')) {
ignoredEndpoints.push(this.publicApiEndpoint); ignoredEndpoints.push(this.publicApiEndpoint);
} }
// eslint-disable-next-line prefer-spread // eslint-disable-next-line prefer-spread