@verdocs/js-sdk 4.1.12 → 4.1.13

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
@@ -1769,8 +1769,8 @@ const getOrganizationInvitation = (endpoint, email, token) => endpoint.api //
1769
1769
  * and session tokens will be returned to access the new profile. The profile's email_verified flag will
1770
1770
  * also be set to true.
1771
1771
  */
1772
- const acceptOrganizationInvitation = (endpoint, email, token) => endpoint.api //
1773
- .post('/v2/organization-invitations/accept', { email, token })
1772
+ const acceptOrganizationInvitation = (endpoint, params) => endpoint.api //
1773
+ .post('/v2/organization-invitations/accept', params)
1774
1774
  .then((r) => r.data);
1775
1775
  /**
1776
1776
  * Decline an invitation. This will mark the status "declined," providing a visual indication to the