@@ -77,7 +77,7 @@ def start_jupyter(db: Session, item: schemas.ProgrammeId):
db.commit()
db.flush()
db.refresh(db_item)
- return url
+ return db_item
def stop_jupyter(db: Session, item: schemas.ProgrammeId):
db_item: models.Programme = db.query(models.Programme).filter(models.Programme.id == item.programme_id).first()