diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-02 16:33:46 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-02 16:33:46 +0700 |
| commit | 762071263d5171be26d753f8f1b157e28cd6bbd6 (patch) | |
| tree | ec688269a141e3584a243b0add384e6aa7057b94 /backend/main.py | |
| parent | eb11a7870ee8e8804478912f47b8190c11bedf01 (diff) | |
i hop it works
Diffstat (limited to 'backend/main.py')
| -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 d6a74a5..d23a5d3 100644 --- a/backend/main.py +++ b/backend/main.py @@ -397,7 +397,7 @@ def uri_to_information(data: InformationRequestData, response: fastapi.Response, print(auth_block) if auth_block: if info: - if auth_block != info[0]: + if str(auth_block) != str(info[0]): response.status_code = fastapi.status.HTTP_403_FORBIDDEN return "UNAUTHORISED to view information of block " + str(info[0]) else: |
