瀏覽代碼

remove unused var

highing666 3 年之前
父節點
當前提交
c398c848fe
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/api/routers/devices.py

+ 1 - 3
app/api/routers/devices.py

@@ -203,9 +203,7 @@ async def get_acatfc_early_start_prediction(
 @router.post(
     "/instructions/acatvi", response_model=domain_devices.ACATVIInstructionsResponse
 )
-async def get_acatvi_instructions(
-        params: domain_devices.ACATVIInstructionsRequest, db: Session = Depends(get_db)
-):
+async def get_acatvi_instructions(params: domain_devices.ACATVIInstructionsRequest):
     instructions = await build_acatvi_instructions(params)
 
     logger.info(params)