Skip to content

Commit 75d9b30

Browse files
committed
change method name
1 parent f6ab893 commit 75d9b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workos/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def get_logout_url(self, return_to: Optional[str] = None) -> str:
277277
f"Failed to extract session ID for logout URL: {auth_response.reason}"
278278
)
279279

280-
return self._client.user_management.authentication.logout(
280+
return self._client.user_management.get_logout_url(
281281
session_id=auth_response.session_id,
282282
return_to=return_to,
283283
)
@@ -456,7 +456,7 @@ async def get_logout_url(self, return_to: Optional[str] = None) -> str:
456456
f"Failed to extract session ID for logout URL: {auth_response.reason}"
457457
)
458458

459-
return await self._client.user_management.authentication.logout(
459+
return await self._client.user_management.get_logout_url(
460460
session_id=auth_response.session_id,
461461
return_to=return_to,
462462
)

0 commit comments

Comments
 (0)