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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ad pool draft #408

Merged
merged 1 commit into from
Jan 31, 2024
Merged

fix ad pool draft #408

merged 1 commit into from
Jan 31, 2024

Conversation

waelhanfi04
Copy link
Contributor

No description provided.


await Campaigns.updateOne({ _id }, { $set: campaign })
const updatedArray = { ...req.body.campagne, ...campaign };
await Campaigns.updateOne({ _id }, { $set: updatedArray })

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources High

This query object depends on a
user-provided value
.

await Campaigns.updateOne({ _id }, { $set: campaign })
const updatedArray = { ...req.body.campagne, ...campaign };
await Campaigns.updateOne({ _id }, { $set: updatedArray })

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources High

This query object depends on a
user-provided value
.
@hichri-louay hichri-louay merged commit 199b25e into develop Jan 31, 2024
2 of 3 checks passed
@hichri-louay hichri-louay deleted the adpoolfixdraft branch January 31, 2024 10:08
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.

2 participants