From ebc6ac843d198f39441477a45aa0326bea8386d6 Mon Sep 17 00:00:00 2001 From: Jenny Qian Date: Fri, 20 Apr 2018 22:40:37 +0800 Subject: [PATCH] Update options.md Fix typo error udpatedBy -> updatedBy --- docs/api/List/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/List/options.md b/docs/api/List/options.md index cdb1ea0c5a..e271b12d75 100644 --- a/docs/api/List/options.md +++ b/docs/api/List/options.md @@ -48,7 +48,7 @@ Sets up 4 fields that will be attached to the list; `createdAt`, `createdBy`, `u * createdAt adds a pre-save hook, and is set to `new Date()` if the item is new. * updatedAt adds a pre-save hook, and is set to `new Date()` if the item is new or modified. * createdBy is a relationship field to your [user model](/documentation/configuration/user-model/#user-model), which will be automatically set by the admin UI if the item is new. -* udpatedBy is a relationship field to your [user model](/documentation/configuration/user-model/#user-model), which will be automatically set by the admin UI if the item is new or modified. +* updatedBy is a relationship field to your [user model](/documentation/configuration/user-model/#user-model), which will be automatically set by the admin UI if the item is new or modified. If you want to update `createdBy` and `updatedBy` on server side saves, you can use [updateItem](/api/list/update-item) to pass in a user.