From e0d573ac2ba3a0db8c2d0859bad13a08820670c0 Mon Sep 17 00:00:00 2001 From: kj1352 Date: Fri, 16 Oct 2020 20:15:10 +0530 Subject: [PATCH] POST to PUT for update profile --- src/app/services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts index fa9ba22..7020889 100644 --- a/src/app/services/auth.service.ts +++ b/src/app/services/auth.service.ts @@ -32,6 +32,6 @@ export class AuthService { }) }; - return this.http.post(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise(); + return this.http.put(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise(); } }