Merge branch 'feat/calling-lua-ts' of https://github.com/project-error/new-phone-who-dis into feat/calling-lua-ts

This commit is contained in:
Christopher committed 2021-02-02 18:36:55 +01:00
commit 8ff9017902
1 file changed
+2 -3
+2 -3
View File
@@ -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);
});