From c45caaa4e477ca9f5844ee31a15e9d2172cb9077 Mon Sep 17 00:00:00 2001 From: Gilbert West Date: Mon, 4 Sep 2017 23:41:59 +0200 Subject: [PATCH] Make the inviterID dynamic --- src/pages/invite/invite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/invite/invite.ts b/src/pages/invite/invite.ts index 5d3335e..f40b6d3 100644 --- a/src/pages/invite/invite.ts +++ b/src/pages/invite/invite.ts @@ -42,7 +42,7 @@ export class InvitePage extends AuthGuard { } this.patientService.inviteUser({ - inviterId: 34 + "", + inviterId: AuthService.getCurrentUser().id + "", lastName: this.lastname, firstName: this.firstname, email: this.email,