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