@verdocs/js-sdk 4.1.13 → 4.1.14

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
@@ -1704,8 +1704,8 @@ const getGroups = (endpoint) => endpoint.api //
1704
1704
  const getGroup = (endpoint, groupId) => endpoint.api //
1705
1705
  .get(`/v2/organization-groups/${groupId}`)
1706
1706
  .then((r) => r.data);
1707
- const createGroup = (endpoint, name) => endpoint.api //
1708
- .post('/v2/organization-groups', { name })
1707
+ const createGroup = (endpoint, params) => endpoint.api //
1708
+ .post('/v2/organization-groups', params)
1709
1709
  .then((r) => r.data);
1710
1710
  const addGroupMember = (endpoint, groupId, profile_id) => endpoint.api //
1711
1711
  .post(`/v2/organization-groups/${groupId}/members`, { profile_id })