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 #1007

Merged
merged 1 commit into from
Nov 27, 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

Copy link

netlify bot commented Nov 22, 2024

Deploy Preview for heuristic-goodall-67c4b1 ready!

Name Link
🔨 Latest commit f415e9a
🔍 Latest deploy log https://app.netlify.com/sites/heuristic-goodall-67c4b1/deploys/674058b4df0540000807dfc4
😎 Deploy Preview https://deploy-preview-1007--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 self-assigned this Nov 22, 2024
@EnzoViry1 EnzoViry1 merged commit ef6d4c3 into 4-dev Nov 27, 2024
25 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.

6 participants