Fix shinanigans with API (again)

This commit is contained in:
Théophile Diot 2023-06-06 12:04:31 -04:00
parent 718310312a
commit 3b459b0e20
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ class ApiCaller:
response: bool = False,
) -> Tuple[bool, Tuple[bool, Optional[Dict[str, Any]]]]:
ret = True
url = url if not url.startswith("/") else url[1:]
responses = {}
for api in self.__apis:
if files is not None: