From 4f3a9b730162256891f351e67ecac88e5e59ad42 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 2 Dec 2025 17:15:56 +0700 Subject: i should change the const URI_TO_MACHINES's nameg --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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" -- cgit v1.2.3