mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Prettified Code!
This commit is contained in:
1 parent
a8deb8b578
commit
85ffdc571b
2 files changed
+14
-14
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { ESX } from './server';
|
||||
import events from '../utils/events';
|
||||
import { getIdentifierByPhoneNumber, getPhoneNumberFromID } from './functions';
|
||||
import { XPlayer } from 'esx.js/@types/server';
|
||||
import { ESX } from "./server";
|
||||
import events from "../utils/events";
|
||||
import { getIdentifierByPhoneNumber, getPhoneNumberFromID } from "./functions";
|
||||
import { XPlayer } from "esx.js/@types/server";
|
||||
/**
|
||||
* Returns the player phoneNumber for a passed identifier
|
||||
* @param identifier The players phone number
|
||||
@@ -20,7 +20,7 @@ function getPlayerFromIdentifier(identifier: string): Promise<XPlayer> {
|
||||
}
|
||||
}
|
||||
|
||||
rej(new Error('Call Target Identifier was not found in xPlayers array'));
|
||||
rej(new Error("Call Target Identifier was not found in xPlayers array"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user