diff --git a/src/datastore/async_methods/create.js b/src/datastore/async_methods/create.js index d5e711d..1b275f9 100644 --- a/src/datastore/async_methods/create.js +++ b/src/datastore/async_methods/create.js @@ -27,8 +27,7 @@ var errorPrefix = 'DS.create(resourceName, attrs[, options]): '; * ``` * * @param {string} resourceName The resource type, e.g. 'user', 'comment', etc. - * @param {object} attrs The attributes with which to update the item of the type specified by `resourceName` that has - * the primary key specified by `id`. + * @param {object} attrs The attributes with which to create the item of the type specified by `resourceName`. * @param {object=} options Configuration options. Properties: * * - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`. diff --git a/src/datastore/async_methods/save.js b/src/datastore/async_methods/save.js index ac9c154..38d201b 100644 --- a/src/datastore/async_methods/save.js +++ b/src/datastore/async_methods/save.js @@ -26,7 +26,7 @@ var errorPrefix = 'DS.save(resourceName, id[, options]): '; * ``` * * @param {string} resourceName The resource type, e.g. 'user', 'comment', etc. - * @param {string|number} id The primary key of the item to retrieve. + * @param {string|number} id The primary key of the item to save. * @param {object=} options Optional configuration. Properties:: * * - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`.