ing
This commit is contained in:
parent
a57a934782
commit
69325a7951
|
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user