Skip to content

Commit

Permalink
change parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
romanbutora committed Aug 1, 2023
1 parent dbb5bda commit 48e9f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export default class UserService {
}, { headers });
};

static invite = (email: string) => {
static invite = (invitedEmail: string) => {
const headers = { Authorization: `Bearer ${localStorage.getItem('accessToken')}` };
return factCheckBe.post<any>('/invitations', {
email,
invitedEmail,
}, { headers });
};

Expand Down

0 comments on commit 48e9f68

Please sign in to comment.