@ -96,7 +96,7 @@ export class DecisionApi implements Api {
private sendEditStatusEvent(name: string, type: string): Promise<SocketResult> {
return new Promise(resolve => {
if (Dec && Dec.socket.connected) {
Dec.socket.emit(type, BI.encode(name), (re: any) => {
Dec.socketEmit(type, BI.encode(name), (re: any) => {
resolve(re);
});
} else {