mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
more formatting
This commit is contained in:
1 parent
046447b0fb
commit
f552c1212c
157 files changed
+635
-1579
No files matched your search
@@ -22,9 +22,7 @@ export function getIdentifier(source: number): string {
|
||||
return ESX.GetPlayerFromId(source).getIdentifier();
|
||||
}
|
||||
|
||||
export async function getIdentifierByPhoneNumber(
|
||||
phoneNumber: string
|
||||
): Promise<string> {
|
||||
export async function getIdentifierByPhoneNumber(phoneNumber: string): Promise<string> {
|
||||
const query = 'SELECT identifier FROM users WHERE phone_number = ?';
|
||||
const [results] = await pool.query(query, [phoneNumber]);
|
||||
const identifier = <Identifier[]>results;
|
||||
|
||||
Reference in new issue
Block a user