This repository has been archived by the owner on Sep 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sw-yx
committed
May 8, 2019
1 parent
9e76272
commit e2c36cc
Showing
6 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
src/functions-templates/js/auth-fetch/.netlify-function-template.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module.exports = { | ||
name: 'auth-fetch', | ||
description: 'Use `node-fetch` library and Netlify Identity to access APIs', | ||
name: "auth-fetch", | ||
description: "Use `node-fetch` library and Netlify Identity to access APIs", | ||
onComplete() { | ||
console.log(`auth-fetch function created from template!`) | ||
console.log(`auth-fetch function created from template!`); | ||
console.log( | ||
'REMINDER: Make sure to call this function with the Netlify Identity JWT. See https://netlify-gotrue-in-react.netlify.com/ for demo' | ||
) | ||
"REMINDER: Make sure to call this function with the Netlify Identity JWT. See https://netlify-gotrue-in-react.netlify.com/ for demo" | ||
); | ||
} | ||
} | ||
}; |
7 changes: 4 additions & 3 deletions
7
src/functions-templates/js/hello-world/.netlify-function-template.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module.exports = { | ||
name: 'hello-world', | ||
name: "hello-world", | ||
priority: 1, | ||
description: 'Basic function that shows async/await usage, and response formatting' | ||
} | ||
description: | ||
"Basic function that shows async/await usage, and response formatting" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters