Skip to content

Commit

Permalink
fix session post response
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 1, 2023
1 parent 371dc88 commit 5cbea07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/services/sessions/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def post(self):
location = url_path_join(self.base_url, "api", "sessions", s_model["id"])
self.set_header("Location", location)
self.set_status(201)
self.finish(json.dumps(model, default=json_default))
self.finish(json.dumps(s_model, default=json_default))


class SessionHandler(SessionsAPIHandler):
Expand Down

0 comments on commit 5cbea07

Please sign in to comment.