diff --git a/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts b/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts index a88ae18..bea962a 100644 --- a/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts +++ b/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts @@ -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); } }