mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 11:26:33 +00:00
fix: address org invite resend
This commit is contained in:
@@ -156,3 +156,18 @@ export const useCreateNewTotpRecoveryCodes = () => {
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
export const useResendOrgMemberInvitation = () => {
|
||||
return useMutation({
|
||||
mutationFn: async (dto: { membershipId: string }) => {
|
||||
const { data } = await apiRequest.post<{
|
||||
signupToken?: {
|
||||
email: string;
|
||||
link: string;
|
||||
};
|
||||
}>("/api/v1/invite-org/signup/resend", dto);
|
||||
|
||||
return data.signupToken;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user