This commit is contained in:
insanity 2018-04-30 21:08:01 +09:00
parent 13e1106a4e
commit 6ce25e2361
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ export class ProfileComponent implements OnInit, OnDestroy {
phone: modifyValue.phone,
companyName: modifyValue.companyName,
};
this.modifyStore.dispatch(new ModifyStore.Modify({ member }));
this.modifyStore.dispatch(new ModifyStore.Modify(member));
const modifiedMemberSubscription$ = this.modifiedMember$.subscribe(
(m: Member) => {

View File

@ -37,7 +37,7 @@ export class Effects {
.map((action: Modify) => action.payload)
.exhaustMap(payload =>
this.memberService
.modify(payload.member)
.modify(payload)
.map(_member => new ModifySuccess(_member))
.catch(error => of(new ModifyFailure(error)))
);