mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
9 lines
280 B
TypeScript
9 lines
280 B
TypeScript
import { pool } from './db';
|
|
import { ESX, getSource } from './server';
|
|
|
|
export const usePhoneNumber = async (identifier: string) => {
|
|
const query = "SELECT phone_number FROM users WHERE identifier = ?"
|
|
const result = await pool.query(query, [identifier]);
|
|
|
|
return result
|
|
} |