Skip to content

Commit b2c157b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c77caaa commit b2c157b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nc_py_api/ex_app/integration_fastapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ async def init_callback(b_tasks: BackgroundTasks, nc: typing.Annotated[Nextcloud
132132
if asyncio.iscoroutinefunction(trigger_handler):
133133

134134
@fast_api_app.post("/trigger")
135-
async def trigger_callback(providerId: str):# pylint: disable=invalid-name
135+
async def trigger_callback(providerId: str): # pylint: disable=invalid-name
136136
await trigger_handler(providerId)
137137
return JSONResponse(content={})
138138

139139
else:
140140

141141
@fast_api_app.post("/trigger")
142-
def trigger_callback(providerId: str):# pylint: disable=invalid-name
142+
def trigger_callback(providerId: str): # pylint: disable=invalid-name
143143
trigger_handler(providerId)
144144
return JSONResponse(content={})
145145

0 commit comments

Comments
 (0)