summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 17:15:56 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 17:15:56 +0700
commit4f3a9b730162256891f351e67ecac88e5e59ad42 (patch)
tree9e9afca6c0f8e8a75ec543b924b656307c65d0e7 /backend/main.py
parente9794b9b003e04255e2b9008d567434aff8f78f2 (diff)
i should change the const URI_TO_MACHINES's nameg
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/main.py b/backend/main.py
index dc2f4ab..1f82d08 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -393,7 +393,7 @@ def uri_to_information(data: InformationRequestData, response: fastapi.Response,
info = None
try:
if len(data.machine_id) > 0:
- info = URI_TO_MACHINES[data.machine_id]
+ info = URI_TO_MACHINES[qr_uri[data.machine_id]]
except KeyError:
response.status_code = fastapi.status.HTTP_404_NOT_FOUND
return "INVALID machine ID/URI"