Sfoglia il codice sorgente

Fix challenge path

Tulir Asokan 4 anni fa
parent
commit
41ff702a0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      mauigpapi/http/challenge.py

+ 1 - 1
mauigpapi/http/challenge.py

@@ -23,7 +23,7 @@ from ..errors import IGResponseError, IGChallengeWrongCodeError
 class ChallengeAPI(BaseAndroidAPI):
     @property
     def __path(self) -> str:
-        return f"/api/v1/{self.state.challenge_path}"
+        return f"/api/v1{self.state.challenge_path}"
 
     async def challenge_get_state(self) -> ChallengeStateResponse:
         query = {