Skip to content

Commit 86f4b2c

Browse files
committed
fix ci
1 parent d695ae8 commit 86f4b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server/services/sessions/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def post(self):
4848
if model is None:
4949
raise web.HTTPError(400, "No JSON data provided")
5050

51-
if "notebook" in model and "path" in model["notebook"]:
51+
if "notebook" in model and "name" in model["notebook"]:
5252
self.log.warning("Sessions API changed, see updated swagger docs")
5353
model["path"] = model["notebook"]["name"]
5454
model["type"] = "notebook"

0 commit comments

Comments
 (0)