@@ -335,16 +335,16 @@ public func configure(_ app: Application) async throws -> String {
335
335
app. migrations. add ( UpdateBuildAddBuildDateCommitHash ( ) )
336
336
}
337
337
338
- app. commands . use ( Analyze . Command ( ) , as: " analyze " )
339
- app. commands . use ( CreateRestfileCommand ( ) , as: " create-restfile " )
340
- app. commands . use ( DeleteBuildsCommand ( ) , as: " delete-builds " )
341
- app. commands . use ( IngestCommand ( ) , as: " ingest " )
342
- app. commands . use ( ReconcileCommand ( ) , as: " reconcile " )
343
- app. commands . use ( TriggerBuildsCommand ( ) , as: " trigger-builds " )
344
- app. commands . use ( ReAnalyzeVersions . Command ( ) , as: " re-analyze-versions " )
345
- app. commands . use ( Alerting . Command ( ) , as: " alerting " )
338
+ app. asyncCommands . use ( Analyze . Command ( ) , as: " analyze " )
339
+ app. asyncCommands . use ( CreateRestfileCommand ( ) , as: " create-restfile " )
340
+ app. asyncCommands . use ( DeleteBuildsCommand ( ) , as: " delete-builds " )
341
+ app. asyncCommands . use ( IngestCommand ( ) , as: " ingest " )
342
+ app. asyncCommands . use ( ReconcileCommand ( ) , as: " reconcile " )
343
+ app. asyncCommands . use ( TriggerBuildsCommand ( ) , as: " trigger-builds " )
344
+ app. asyncCommands . use ( ReAnalyzeVersions . Command ( ) , as: " re-analyze-versions " )
345
+ app. asyncCommands . use ( Alerting . Command ( ) , as: " alerting " )
346
346
if Current . environment ( ) == . development {
347
- app. commands . use ( Swift6TriggerCommand ( ) , as: " swift-6-trigger " )
347
+ app. asyncCommands . use ( Swift6TriggerCommand ( ) , as: " swift-6-trigger " )
348
348
}
349
349
350
350
// register routes
0 commit comments