Skip to content

Commit 95b668d

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

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 ignore
135+
async def trigger_callback(providerId: str): # pylint ignore
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 ignore
142+
def trigger_callback(providerId: str): # pylint ignore
143143
trigger_handler(providerId)
144144
return JSONResponse(content={})
145145

0 commit comments

Comments
 (0)