Commits

Tim Pettersen committed 6090617 Merge

Merge branch 'release/0.8.3'

Comments (0)

Files changed (2)

lib/internal/host-request.js

 
     if (isHostUrl) {
       if (!options.headers) options.headers = {};
+
+      if (method === "del") {
+        // AC-760, Mikeal Rogers' request package uses the shorthand function name 'del' for the DELETE method type
+        method = "delete";
+      }
+
       options.headers['Authorization'] = oauth.sign({
         url: options.uri,
         method: method || options.method || 'GET',
 {
   "name": "atlassian-connect-express",
-  "version": "0.8.2",
+  "version": "0.8.3",
   "description": "Library for building Atlassian Add-ons on top of Express",
   "dependencies": {
     "express": "~3.3.4",