Skip to content

Commit 98d5cd1

Browse files
fix list of applications
1 parent 40bfc07 commit 98d5cd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aidial_client/resources/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def get(self, app_id: str) -> ApplicationType:
1919
def _list_raw(self) -> ApplicationsResponse:
2020
return self.http_client.request(
2121
cast_to=ApplicationsResponse,
22-
options=FinalRequestOptions(method="GET", url=APPLICATION_PREFIX),
22+
options=FinalRequestOptions(method="GET", url="openai/applications"),
2323
)
2424

2525
def list(self) -> list[ApplicationType]:
@@ -39,7 +39,7 @@ async def get(self, app_id: str) -> ApplicationType:
3939
async def _list_raw(self) -> ApplicationsResponse:
4040
return await self.http_client.request(
4141
cast_to=ApplicationsResponse,
42-
options=FinalRequestOptions(method="GET", url=APPLICATION_PREFIX),
42+
options=FinalRequestOptions(method="GET", url="openai/applications"),
4343
)
4444

4545
async def list(self) -> list[ApplicationType]:

0 commit comments

Comments
 (0)