Skip to content

Commit

Permalink
update FDK examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Winnicki committed Aug 8, 2017
1 parent 036acd5 commit 37b8319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ curl --request POST \
const eventGateway = fdk.eventGateway({ url: 'http://localhost' })
eventGateway.invoke({
functionId: "createUser",
data: JSON.stringify({ name: "Max" }),
data: { name: "Max" }
})
```

Expand Down Expand Up @@ -200,7 +200,7 @@ curl --request POST \
const eventGateway = fdk.eventGateway({ url: 'http://localhost' })
eventGateway.emit({
event: "userCreated",
data: JSON.stringify({ name: "Max" }),
data: { name: "Max" }
})
```

Expand Down

0 comments on commit 37b8319

Please sign in to comment.