Skip to content

Commit 7677952

Browse files
committed
remove debug
Signed-off-by: Lukas Schaefer <[email protected]>
1 parent 17cc117 commit 7677952

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ex_app/lib/mcp_server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import requests
1313

1414
def get_user(authorization_header: str, nc: NextcloudApp) -> str:
15-
print(f"http://{nc.app_cfg.endpoint}/ocs/v2.php/cloud/user")
1615
response = requests.get(
1716
f"{nc.app_cfg.endpoint}/ocs/v2.php/cloud/user",
1817
headers={
@@ -34,7 +33,6 @@ async def on_message(self, context: MiddlewareContext, call_next):
3433
raise Exception("Authorization header is missing/invalid")
3534
nc = NextcloudApp()
3635
user = get_user(authorization_header, nc)
37-
print(user)
3836
nc.set_user(user)
3937
context.fastmcp_context.set_state("nextcloud", nc)
4038
return await call_next(context)

0 commit comments

Comments
 (0)