added confirmation data
This commit is contained in:
@@ -11,7 +11,7 @@ const pool = mysql
|
||||
})
|
||||
.promise();
|
||||
|
||||
export const getAll25 = async () => {
|
||||
export const getUser = async () => {
|
||||
const [rows] = await pool.query("SELECT unique_key FROM users");
|
||||
if (rows.length > 0) {
|
||||
return {rows};
|
||||
@@ -19,3 +19,7 @@ export const getAll25 = async () => {
|
||||
return { message: "No data found" };
|
||||
}
|
||||
};
|
||||
|
||||
export const confirmData = async (data) => {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user