Skip to content

Commit

Permalink
Update index.js (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
anishkny authored and jmdobry committed Aug 15, 2017
1 parent 1e99370 commit ab961b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/datastore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function getKeyFromRequestData (requestData) {
* Creates and/or updates a record.
*
* @example
* gcloud alpha functions call set --data '{"kind":"Task","key":"sampletask1","value":{"description": "Buy milk"}}'
* gcloud beta functions call set --data '{"kind":"Task","key":"sampletask1","value":{"description": "Buy milk"}}'
*
* @param {object} req Cloud Function request context.
* @param {object} req.body The request body.
Expand Down Expand Up @@ -78,7 +78,7 @@ exports.set = function set (req, res) {
* Retrieves a record.
*
* @example
* gcloud alpha functions call get --data '{"kind":"Task","key":"sampletask1"}'
* gcloud beta functions call get --data '{"kind":"Task","key":"sampletask1"}'
*
* @param {object} req Cloud Function request context.
* @param {object} req.body The request body.
Expand Down Expand Up @@ -110,7 +110,7 @@ exports.get = function get (req, res) {
* Deletes a record.
*
* @example
* gcloud alpha functions call del --data '{"kind":"Task","key":"sampletask1"}'
* gcloud beta functions call del --data '{"kind":"Task","key":"sampletask1"}'
*
* @param {object} req Cloud Function request context.
* @param {object} req.body The request body.
Expand Down

0 comments on commit ab961b5

Please sign in to comment.