File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Core/Sources/SuggestionService Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public actor SuggestionService: SuggestionServiceType {
3535 ) {
3636 suggestionProvider = provider
3737 self . middlewares = middlewares
38+ self . eventHandlers = eventHandlers
3839 }
3940
4041 public static func service(
@@ -103,7 +104,7 @@ public extension SuggestionService {
103104 _ suggestions: [ SuggestionBasic . CodeSuggestion ] ,
104105 workspaceInfo: CopilotForXcodeKit . WorkspaceInfo
105106 ) async {
106- eventHandlers. forEach { $0. didReject ( suggestion , workspaceInfo: workspaceInfo) }
107+ eventHandlers. forEach { $0. didReject ( suggestions , workspaceInfo: workspaceInfo) }
107108 await suggestionProvider. notifyRejected ( suggestions, workspaceInfo: workspaceInfo)
108109 }
109110
You can’t perform that action at this time.
0 commit comments