Skip to content

Commit 0b2fce3

Browse files
minor doc updates
1 parent c39ff05 commit 0b2fce3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/datastore/async_methods/create.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ var errorPrefix = 'DS.create(resourceName, attrs[, options]): ';
2727
* ```
2828
*
2929
* @param {string} resourceName The resource type, e.g. 'user', 'comment', etc.
30-
* @param {object} attrs The attributes with which to update the item of the type specified by `resourceName` that has
31-
* the primary key specified by `id`.
30+
* @param {object} attrs The attributes with which to create the item of the type specified by `resourceName`.
3231
* @param {object=} options Configuration options. Properties:
3332
*
3433
* - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`.

src/datastore/async_methods/save.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var errorPrefix = 'DS.save(resourceName, id[, options]): ';
2626
* ```
2727
*
2828
* @param {string} resourceName The resource type, e.g. 'user', 'comment', etc.
29-
* @param {string|number} id The primary key of the item to retrieve.
29+
* @param {string|number} id The primary key of the item to save.
3030
* @param {object=} options Optional configuration. Properties::
3131
*
3232
* - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`.

0 commit comments

Comments
 (0)