Skip to content

Commit

Permalink
Switch to arrow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed May 1, 2017
1 parent 34c186b commit 82e335f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/spanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const databaseId = 'my-database';
* @param {Object} req Cloud Function request context.
* @param {Object} res Cloud Function response context.
*/
exports.get = function helloGET (req, res) {
exports.get = (req, res) => {
// Gets a reference to a Cloud Spanner instance and database
const instance = spanner.instance(instanceId);
const database = instance.database(databaseId);
Expand Down

0 comments on commit 82e335f

Please sign in to comment.