mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(rest) onPUT: shorthand properties
This commit is contained in:
parent
5926c4392f
commit
04681237c0
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ function onPUT(name, body, callback) {
|
|||
check
|
||||
.type('callback', callback, 'function')
|
||||
.check({
|
||||
name: name,
|
||||
body: body
|
||||
name,
|
||||
body,
|
||||
});
|
||||
|
||||
if (name[0] === '/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue