corebasic 1.0.189 → 1.0.190
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/libs/elabase.js +2 -4
- package/package.json +1 -1
package/libs/elabase.js
CHANGED
|
@@ -197,10 +197,8 @@ function validate_topology(meta, collection, fn_name) {
|
|
|
197
197
|
function check_core_meta(config, meta, suffix) {
|
|
198
198
|
if (config.company !== meta.company && typeof config.company !== "object")
|
|
199
199
|
throw {message: `Error: Incompatible meta.company config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` in ${fn_name}` : ''}`}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
throw {message: `Error: Incompatible meta.outlet config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` in ${fn_name}` : ''}`}
|
|
203
|
-
}
|
|
200
|
+
if (config.outlet !== meta.outlet && typeof config.outlet !== "object")
|
|
201
|
+
throw {message: `Error: Incompatible meta.outlet config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` in ${fn_name}` : ''}`}
|
|
204
202
|
}
|
|
205
203
|
|
|
206
204
|
check_core_meta(config, meta)
|