@verdocs/js-sdk 4.2.45 → 4.2.47

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