@verdocs/js-sdk 4.2.45 → 4.2.46

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/dist/index.js CHANGED
@@ -2475,7 +2475,7 @@ const createTemplateRole = (endpoint, template_id, params) => endpoint.api //
2475
2475
  * ```
2476
2476
  */
2477
2477
  const updateTemplateRole = (endpoint, template_id, name, params) => endpoint.api //
2478
- .put(`/v2/roles/${template_id}/${encodeURIComponent(name)}`, params)
2478
+ .patch(`/v2/roles/${template_id}/${encodeURIComponent(name)}`, params)
2479
2479
  .then((r) => r.data);
2480
2480
  /**
2481
2481
  * Delete a role.