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: update btn trigger replace instead of update #1008

Merged
merged 2 commits into from
Dec 3, 2024
Merged

fix: update btn trigger replace instead of update #1008

merged 2 commits into from
Dec 3, 2024

Conversation

EnzoViry1
Copy link
Contributor

What does this PR do ?

Fix the udpate button to call update function.

Before this fix when you were updating a document it was calling replace function so all metadatas were overwritten.

How should this be manually tested?

  • Step 1 : Update a document with an author that's not you
  • Step 2 : Field author in _kuzzle_info should not be changed to your user

@EnzoViry1 EnzoViry1 self-assigned this Nov 29, 2024
Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for heuristic-goodall-67c4b1 ready!

Name Link
🔨 Latest commit ef6d4c3
🔍 Latest deploy log https://app.netlify.com/sites/heuristic-goodall-67c4b1/deploys/674969bccf546400080947f5
😎 Deploy Preview https://deploy-preview-1008--heuristic-goodall-67c4b1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@EnzoViry1 EnzoViry1 merged commit 70aab75 into master Dec 3, 2024
45 checks passed
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.

1 participant