This commit is contained in:
crusader 2017-09-27 20:02:25 +09:00
parent a57a934782
commit 69325a7951

View File

@ -1,19 +1,16 @@
import { Service } from '@overflow/commons/api/service'; import { Service } from '@overflow/commons/api/service';
import NoAuthProbe from '../model/NoAuthProbe'; import NoAuthProbe from '../model/NoAuthProbe';
import Action from '@overflow/commons/redux/Action'; import Action from '@overflow/commons/redux/Action';
import * as AcceptActions from '../../redux/action/accept';
export class NoAuthProbeService extends Service { export class NoAuthProbeService extends Service {
// tslint:disable-next-line:no-empty
public constructor() { public constructor() {
super(); super();
} }
public regist(params: any): void { public regist(params: any): void {
const noAuthProbe: NoAuthProbe = JSON.parse(params); const noAuthProbe: NoAuthProbe = JSON.parse(params);
const action: Action = { this.dispatch(AcceptActions.REQUEST, noAuthProbe);
type: 'TEST',
};
this.dispatch('TEST', noAuthProbe);
} }
} }