@stackfactor/client-api 1.1.123 → 1.1.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/role.js +1 -3
- package/package.json +1 -1
package/lib/role.js
CHANGED
|
@@ -229,14 +229,12 @@ const getRoleTemplateUpdates = (id, token) => {
|
|
|
229
229
|
* Import role templates
|
|
230
230
|
* @param {Array<String>} data The list of role templates to be imported
|
|
231
231
|
* @param {String} token
|
|
232
|
-
* @param {Boolean} skipIfAlreadyImported Skip if the role template is already imported
|
|
233
232
|
* @returns {Promise}
|
|
234
233
|
*/
|
|
235
|
-
const importRoleTemplates = (data, token
|
|
234
|
+
const importRoleTemplates = (data, token) => {
|
|
236
235
|
return new Promise(function (resolve, reject) {
|
|
237
236
|
const requestData = {
|
|
238
237
|
data: data,
|
|
239
|
-
skipIfAlreadyImported: skipIfAlreadyImported,
|
|
240
238
|
};
|
|
241
239
|
let confirmationRequest = client.post(
|
|
242
240
|
`api/v1/roles/importRoleTemplates`,
|