diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-02 17:15:56 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-02 17:15:56 +0700 |
| commit | 4f3a9b730162256891f351e67ecac88e5e59ad42 (patch) | |
| tree | 9e9afca6c0f8e8a75ec543b924b656307c65d0e7 | |
| parent | e9794b9b003e04255e2b9008d567434aff8f78f2 (diff) | |
i should change the const URI_TO_MACHINES's nameg
| -rw-r--r-- | backend/main.py | 2 |
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" |
