Skip to content

Commit

Permalink
Merge branch '23.09' into backport/2584-to-23.09
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho authored Sep 4, 2024
2 parents 47733d1 + c047598 commit 35fc131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2681.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update `webserver` logout API to respond with HTTP 200 OK
2 changes: 1 addition & 1 deletion src/ai/backend/web/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ async def logout_handler(request: web.Request) -> web.Response:
stats.active_logout_handlers.add(asyncio.current_task()) # type: ignore
session = await get_session(request)
session.invalidate()
return web.Response(status=201)
return web.HTTPOk()


async def webserver_healthcheck(request: web.Request) -> web.Response:
Expand Down

0 comments on commit 35fc131

Please sign in to comment.