Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cupsadarius committed Feb 28, 2019
1 parent 8e59e05 commit fadb92c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ module.exports = {
actions: {
hello: {
params: {
properties: {
"name": {type: "string"}
},
required: ["name"]
"name": "string"
},
handler: async (ctx) => {
context.set('request_id', ctx.requestID);
Expand All @@ -65,4 +62,4 @@ module.exports = async ({name}) => {

## License

MIT
MIT

0 comments on commit fadb92c

Please sign in to comment.