Skip to content

Commit 69fccb4

Browse files
author
Chris Coutinho
committed
Use self._make_request
1 parent 6bdbb6e commit 69fccb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nextcloud_mcp_server/client/calendar.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ async def list_calendars(self) -> List[Dict[str, Any]]:
4545
"Accept": "application/xml",
4646
}
4747

48-
response = await self._client.request(
48+
response = await self._make_request(
4949
"PROPFIND", caldav_path, content=propfind_body, headers=headers
5050
)
51-
response.raise_for_status()
5251

5352
# Parse XML response
5453
root = ET.fromstring(response.content)

0 commit comments

Comments
 (0)