File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1010namespace OCA \AppAPI \Listener ;
1111
1212use JsonException ;
13+ use OCA \AppAPI \Service \AppAPIService ;
14+ use OCA \AppAPI \Service \ExAppService ;
1315use OCA \AppAPI \Service \ProvidersAI \TaskProcessingService ;
1416use OCP \EventDispatcher \Event ;
1517use OCP \EventDispatcher \IEventListener ;
1921class GetTaskProcessingProvidersListener implements IEventListener {
2022 public function __construct (
2123 private readonly TaskProcessingService $ taskProcessingService ,
24+ private readonly ExAppService $ exAppService ,
25+ private readonly AppAPIService $ appAPIService ,
2226 private readonly LoggerInterface $ logger ,
2327 ) {
2428 }
@@ -32,6 +36,8 @@ public function handle(Event $event): void {
3236 return ;
3337 }
3438
39+ $ this ->taskProcessingService ->setExAppService ($ this ->exAppService );
40+ $ this ->taskProcessingService ->setAppAPIService ($ this ->appAPIService );
3541 $ exAppsProviders = $ this ->taskProcessingService ->getRegisteredTaskProcessingProviders ();
3642
3743 foreach ($ exAppsProviders as $ exAppProvider ) {
You can’t perform that action at this time.
0 commit comments