Skip to content

Commit

Permalink
Fix Invalid urls (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
anay-208 authored Aug 30, 2024
1 parent 5196d25 commit 219cf28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/pages/en/mutations/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ await StoreLocations.update({ cityId, mallId, storeId, buildingId })

### Data

The `data()` allows for different approach to updating your item, by accepting a callback with a similar argument signature to the [where clause](/en/mutations/conditionals).
The `data()` allows for different approach to updating your item, by accepting a callback with a similar argument signature to the [where clause](/en/mutations/conditions).

The callback provided to the `data` method is injected with an `attributes` object as the first parameter, and an `operations` object as the second parameter. All operations accept an attribute from the `attributes` object as a first parameter, and optionally accept a second `value` parameter.

Expand Down

0 comments on commit 219cf28

Please sign in to comment.