Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit 39410d4

Browse files
committed
Corrects order of arguments in example function.
Fixes #10
1 parent 9f65dc7 commit 39410d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create-twilio-function/create-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function createPackageJSON(path, name) {
3838
}
3939

4040
function createExampleFunction(path) {
41-
const content = `exports.handler = function(event, context, callback) {
41+
const content = `exports.handler = function(context, event, callback) {
4242
const twiml = new Twilio.twiml.VoiceResponse();
4343
twiml.say("Hello World!");
4444
callback(null, twiml);

0 commit comments

Comments
 (0)