From d6ed214d99560e5676ed7dfc58f65da3edd1002b Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Wed, 19 Apr 2023 10:23:45 +0200 Subject: [PATCH] - --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 64b5d58..88a557b 100644 --- a/db.py +++ b/db.py @@ -273,7 +273,7 @@ def update_image_allocation_ip(token, ip): connect() with get_cur() as cur: cur.execute(""" - UPDATE image_allocation SET ip = %s WHERE image_id = %s + UPDATE image_allocation SET client_ip = %s WHERE image_id = %s """, (ip, image_id,)) try: conn.commit()