@aloma.io/integration-sdk 3.8.17 → 3.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/controller/index.mts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {ConfigField} from '../index.mjs';
|
1
|
+
import { ConfigField } from '../index.mjs';
|
2
2
|
import Fetcher from '../internal/fetcher/fetcher.mjs';
|
3
|
-
import {OAuth} from '../internal/fetcher/oauth-fetcher.mjs';
|
3
|
+
import { OAuth } from '../internal/fetcher/oauth-fetcher.mjs';
|
4
4
|
|
5
5
|
export abstract class AbstractController {
|
6
6
|
/**
|
@@ -191,7 +191,7 @@ export abstract class AbstractController {
|
|
191
191
|
if (!field) return;
|
192
192
|
|
193
193
|
if (!field.optional && config[key] == null) {
|
194
|
-
return
|
194
|
+
return `Configuration: ${field.name} is required`;
|
195
195
|
}
|
196
196
|
})
|
197
197
|
.filter((what) => !!what);
|