Skip to content

Commit d8ee922

Browse files
committed
added transport field
1 parent 975e968 commit d8ee922

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcpgateway/admin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ async def admin_add_gateway(request: Request, db: Session = Depends(get_db), use
755755
name=form["name"],
756756
url=form["url"],
757757
description=form.get("description"),
758+
transport=form.get("transport","SSE"),
758759
auth_type=form.get("auth_type", ""),
759760
auth_username=form.get("auth_username", ""),
760761
auth_password=form.get("auth_password", ""),
@@ -806,6 +807,7 @@ async def admin_edit_gateway(
806807
name=form["name"],
807808
url=form["url"],
808809
description=form.get("description"),
810+
transport=form.get("transport","SSE"),
809811
auth_type=form.get("auth_type", None),
810812
auth_username=form.get("auth_username", None),
811813
auth_password=form.get("auth_password", None),

0 commit comments

Comments
 (0)