ソースを参照

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)