From 95bc6b0daa515bee13e562c621c6ed9b3457a0d2 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 4 Mar 2025 09:31:37 -0500 Subject: [PATCH] customer id --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index d79811b..c568c01 100644 --- a/app/app.py +++ b/app/app.py @@ -144,7 +144,7 @@ def salary_demousers(): dList = [] - SELECT_DEMO_ENTRY = f"SELECT id,uid, name,offers,salary_account,current_loans,mobile,bvn, email, pin, added::text FROM demo_bank_accounts ORDER BY id ASC" + SELECT_DEMO_ENTRY = f"SELECT id,uid, bvn AS CustomerID, name,offers,salary_account,current_loans,mobile,bvn, email, pin, added::text FROM demo_bank_accounts ORDER BY id ASC" # print(SELECT_DEMO_ENTRY) with connection: with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor: