Skip to content

Commit 1c9aa5d

Browse files
committed
Update README.md
Corrected example code for the update use case
1 parent f3bb09f commit 1c9aa5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fetchedModel = model.fetch();
9393

9494
// or update
9595

96-
updatedModelFromBackend = model.delete();
96+
updatedModelFromBackend = model.update();
9797

9898
// why not fetch all dogs?
9999

0 commit comments

Comments
 (0)