fix company creation for admin and inviting of new employees
This commit is contained in:
@@ -54,8 +54,9 @@ export const createInvitationsAction = enhanceAction(
|
||||
);
|
||||
}
|
||||
|
||||
const { data: invitations, error: invitationError } =
|
||||
await serviceClient.rpc('get_invitations_with_account_ids', {
|
||||
const { data: invitations, error: invitationError } = await serviceClient
|
||||
.schema('medreport')
|
||||
.rpc('get_invitations_with_account_ids', {
|
||||
company_id: company[0].id,
|
||||
personal_codes: personalCodes,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user