diff --git a/resources/server/functions.ts b/resources/server/functions.ts new file mode 100644 index 0000000..c9f7c0a --- /dev/null +++ b/resources/server/functions.ts @@ -0,0 +1,9 @@ +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 +} \ No newline at end of file