Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request validation for /api/integrations.* #5638

Merged
merged 7 commits into from Aug 2, 2023

Conversation

apoorv-mishra
Copy link
Collaborator

Finally closes #4284 馃檹

@auto-assign auto-assign bot requested a review from tommoor August 1, 2023 11:53
Comment on lines 105 to 106
transaction(),
validate(T.IntegrationsDeleteSchema),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
transaction(),
validate(T.IntegrationsDeleteSchema),
validate(T.IntegrationsDeleteSchema),
transaction(),

Lets make sure transaction is the last middleware

transaction,
});
}

await Event.create({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should pass transaction here too

@tommoor tommoor merged commit 2331bbb into main Aug 2, 2023
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the chore/4284/validate-integrations branch August 2, 2023 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine server side validations
2 participants