Skip to content

Commit 8542d36

Browse files
committed
add missing methods - fixes troupe#13
1 parent bb57663 commit 8542d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/restler-q.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function wrapMethod(method, spread) {
4040
}
4141

4242

43-
module.exports = ['get','post','put','del','head', 'json', 'postJson', 'putJson'].reduce(function(memo, method) {
43+
module.exports = ['get', 'post', 'put', 'del', 'head', 'patch', 'json', 'postJson', 'putJson', 'patchJson'].reduce(function(memo, method) {
4444
var underlying = rest[method];
4545
if(underlying) {
4646
memo[method] = wrapMethod(underlying);

0 commit comments

Comments
 (0)