소스 검색

Fix challenge path

Tulir Asokan 4 년 전
부모
커밋
41ff702a0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = {