Skip to content

Commit

Permalink
Merge pull request #69 from aic-factcheck/migrate_fe
Browse files Browse the repository at this point in the history
change parameter name
  • Loading branch information
romanbutora authored Aug 1, 2023
2 parents 6487cab + 48e9f68 commit 96f019d
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 96f019d

Please sign in to comment.