@rixl/sdk 0.29.0 → 0.29.1

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
@@ -4192,8 +4192,8 @@ const resendMemberInvite = async (orgId, userId) => {
4192
4192
  const respondToInvitation = async (orgId, state) => {
4193
4193
  return apiCall(async () => {
4194
4194
  const validated = validateInput(AcceptDeclineMembershipSchema, { state });
4195
- await authV1MembershipServiceUpdateMembershipState({
4196
- path: { "user.org_id": orgId },
4195
+ await authV1MembershipServiceRespondToMembershipApplication({
4196
+ path: { org_id: orgId },
4197
4197
  body: { state: STATE_TO_PROTO[validated.state] },
4198
4198
  throwOnError: true
4199
4199
  });