This commit is contained in:
crusader 2018-02-07 15:52:55 +09:00
parent bf3ef51454
commit 0d510fca85

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { APIService } from 'app/commons/service/api.service'; import { RPCService } from 'app/commons/service/rpc.service';
import { Member } from '../model/member'; import { Member } from '../model/member';
@ -7,11 +7,11 @@ import { Member } from '../model/member';
export class MemberService { export class MemberService {
public constructor( public constructor(
private apiService: APIService, private rpcService: RPCService,
) { } ) { }
public signin(email: string, password: string) { public signin(email: string, password: string) {
this.apiService.call<Member>('MemberService.signin', email, password).subscribe( this.rpcService.call<Member>('MemberService.signin', email, password).subscribe(
(member: Member) => { (member: Member) => {
}, },