We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb57663 commit 8542d36Copy full SHA for 8542d36
lib/restler-q.js
@@ -40,7 +40,7 @@ function wrapMethod(method, spread) {
40
}
41
42
43
-module.exports = ['get','post','put','del','head', 'json', 'postJson', 'putJson'].reduce(function(memo, method) {
+module.exports = ['get', 'post', 'put', 'del', 'head', 'patch', 'json', 'postJson', 'putJson', 'patchJson'].reduce(function(memo, method) {
44
var underlying = rest[method];
45
if(underlying) {
46
memo[method] = wrapMethod(underlying);
0 commit comments