@dv4resi/dvss-backend-module-offering-im 0.0.15 → 0.0.16

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/dist/index.js CHANGED
@@ -3103,9 +3103,9 @@ exports.TrybeAuthService = class _TrybeAuthService {
3103
3103
  if (Object.keys(integrationConfig).length > 0) {
3104
3104
  if (!integrationConfig.apiKey) {
3105
3105
  throw new Error("Integration configuration is invalid: API Key not found");
3106
- } else if (!integrationConfig.siteId) {
3106
+ } else if (!integrationConfig.siteId || integrationConfig.siteId.trim() === "") {
3107
3107
  throw new Error("Integration configuration is invalid: Site ID not found");
3108
- } else if (!integrationConfig.organisationId) {
3108
+ } else if (!integrationConfig.organisationId || integrationConfig.organisationId.trim() === "") {
3109
3109
  throw new Error("Integration configuration is invalid: Organisation ID not found");
3110
3110
  }
3111
3111
  } else {