fix: Fix issue/ticket #17

This commit is contained in:
2026-07-15 15:40:08 +02:00
parent 67c704009e
commit 929ec5ef10
2 changed files with 1 additions and 9 deletions
@@ -12,7 +12,7 @@ const pool = mysql
.promise();
export const getAllLoans = async () => {
const [rows] = await pool.query("SELECT * FROM loans");
const [rows] = await pool.query("SELECT * FROM loans WHERE deleted_admin = 0;");
return { success: true, data: rows };
};