diff --git a/resources/client/cl_call.ts b/resources/client/cl_call.ts index e7a9f38..7e7aaa0 100644 --- a/resources/client/cl_call.ts +++ b/resources/client/cl_call.ts @@ -1,7 +1,7 @@ import { ESX } from './client'; import events from '../utils/events'; import { ICall } from '../../phone/src/common/typings/call'; -import config from '../utils/config' +import config from '../utils/config'; import dayjs from 'dayjs'; const exp = (global as any).exports; @@ -9,8 +9,7 @@ const exp = (global as any).exports; RegisterNuiCallbackType(events.PHONE_INITIALIZE_CALL); on(`__cfx_nui:${events.PHONE_INITIALIZE_CALL}`, (data: any) => { const timestamp = dayjs().locale(config.Locale).format('HH:mm'); - const start = Date.now() - + const start = Date.now(); emitNet(events.PHONE_INITIALIZE_CALL, data.number, timestamp, start); });