Skip to content

fix(api-gateway): add UUID validation for orgId in GetWebhookDto - #1768

Open
Aadiii00 wants to merge 86 commits into
credebl:mainfrom
Aadiii00:fix/1220-org-id-validation
Open

Aadiii00 wants to merge 86 commits into
credebl:mainfrom
Aadiii00:fix/1220-org-id-validation

fix(api-gateway): add UUID validation for orgId in GetWebhookDto

9e0f195
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 1, 2026 in 41s

Annotations

Check warning on line 12 in apps/api-gateway/src/webhook/dtos/get-webhoook-dto.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(errors).toHaveLength(0)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=credebl_platform&issues=AaD3HdByLoVygz5kYDGI&open=AaD3HdByLoVygz5kYDGI&pullRequest=1768

Check warning on line 20 in apps/api-gateway/src/webhook/dtos/get-webhoook-dto.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(errors).toHaveLength(0)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=credebl_platform&issues=AaD3HdByLoVygz5kYDGJ&open=AaD3HdByLoVygz5kYDGJ&pullRequest=1768

Check warning on line 27 in apps/api-gateway/src/webhook/dtos/get-webhoook-dto.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(errors).toHaveLength(0)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=credebl_platform&issues=AaD3HdByLoVygz5kYDGK&open=AaD3HdByLoVygz5kYDGK&pullRequest=1768