Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add response validation to PUT /payload

  • Loading branch information...
commit 7b75ece313ccefb553942beef549a07bb6836156 1 parent fe2b272
@zaach zaach authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/api/v1/payload.js
View
6 lib/api/v1/payload.js
@@ -18,6 +18,12 @@ module.exports = [
schema: {
payload: S().required()
}
+ },
+ response: {
+ schema: {
+ success: B().required(),
+ updated: N().required()
+ }
}
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.