diff --git a/src/app/modules/polyglot/member/services/member.service.ts b/src/app/modules/polyglot/member/services/member.service.ts index f60d35f..51508cb 100644 --- a/src/app/modules/polyglot/member/services/member.service.ts +++ b/src/app/modules/polyglot/member/services/member.service.ts @@ -26,6 +26,8 @@ import { SUBJECT_GET_MEMBER_BY_USERNAME, SUBJECT_UPDATE_MEMBER, SUBJECT_CREATE_MEMBER, + SUBJECT_UPDATE_MEMBER_FOR_PASSWORD, + SUBJECT_UPDATE_MEMBER_FOR_STATE, } from 'app/modules/proto/c2se/backend/member_pb'; import { Pagination } from 'app/modules/proto/protobuf/pagination_pb'; @@ -147,7 +149,7 @@ export class MemberService { (resolve, reject) => { this.__natsService .request( - SUBJECT_UPDATE_MEMBER, + SUBJECT_UPDATE_MEMBER_FOR_PASSWORD, req.serializeBinary(), UpdateMemberForPasswordResponse.deserializeBinary ) @@ -170,7 +172,7 @@ export class MemberService { (resolve, reject) => { this.__natsService .request( - SUBJECT_UPDATE_MEMBER, + SUBJECT_UPDATE_MEMBER_FOR_STATE, req.serializeBinary(), UpdateMemberForStateResponse.deserializeBinary ) diff --git a/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts b/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts index 76ff298..3b77706 100644 --- a/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts +++ b/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts @@ -23,6 +23,7 @@ import { SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT, SUBJECT_DELETE_MEMBER_BANK_ACCOUNT, SUBJECT_GET_MEMBER_BANK_ACCOUNT, + SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD, } from 'app/modules/proto/c2se/backend/member_bank_account_pb'; @Injectable({ @@ -141,7 +142,7 @@ export class MemberBankAccountService { this.__natsService .request( - SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT, + SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD, req.serializeBinary(), UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinary )