Browse Source

Fix challenge path

Tulir Asokan 4 years ago
parent
commit
41ff702a0c
1 changed files with 1 additions and 1 deletions
  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 = {