dtable-web-api
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -451,2 +451,10 @@ "use strict"; | ||
} | ||
}, { | ||
key: "createGroup", | ||
value: function createGroup(name) { | ||
var url = this.server + '/api/v2.1/groups/'; | ||
var form = new _formData["default"](); | ||
form.append('name', name); | ||
return this._sendPostRequest(url, form); | ||
} | ||
}]); | ||
@@ -453,0 +461,0 @@ |
{ | ||
"name": "dtable-web-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "an interface for dtable-web", | ||
@@ -11,3 +11,2 @@ "main": "lib/dtable-web-api.js", | ||
"prepublishOnly": "npm run clean && npm run pub:lib" | ||
}, | ||
@@ -14,0 +13,0 @@ "files": [ |
@@ -350,4 +350,11 @@ import axios from 'axios'; | ||
createGroup(name) { | ||
const url = this.server + '/api/v2.1/groups/'; | ||
let form = new FormData(); | ||
form.append('name', name); | ||
return this._sendPostRequest(url, form); | ||
} | ||
} | ||
export default DTableWebAPI; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28935
737