From 5bd50ed53bea33c96b20c8e3d37b8bdf87d12254 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 11 Apr 2018 15:40:12 +0900 Subject: [PATCH] ing --- src/packages/member/service/member.service.ts | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/packages/member/service/member.service.ts b/src/packages/member/service/member.service.ts index d310615..beabeba 100644 --- a/src/packages/member/service/member.service.ts +++ b/src/packages/member/service/member.service.ts @@ -18,29 +18,27 @@ export class MemberService { } public signin(email: string, password: string): Observable { - const body = { - signinId: email, - signinPw: password, - }; - return this.restService.request('post', '/account/signin', { - body: body, + body: { + signinId: email, + signinPw: password, + }, }); } public signin_cookie(authToken: string): Observable { - const body = { - authToken: authToken, - }; - return this.restService.request('post', '/account/signin_cookie', { - body: body, + body: { + authToken: authToken, + }, }); } public signup(member: Member): Observable { return this.restService.request('post', '/account/signup', { - body: member, + body: { + member: member, + }, }); } }