Skip to content

Commit

Permalink
sourcing api client from different location
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Sep 27, 2023
1 parent 18f9f1b commit e462013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handler/trivyProcessing.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func convertBOMToProblemsArray(environment int, source string, service string, b

func writeProblemsArrayToApi(apiClient graphql.Client, environment int, source string, service string, problems []lagoonclient.LagoonProblem) error {

ret, err := lagoonclient.DeleteProblemsFromSource(context.TODO(), queue.Messaging.getApiClient(), environment, service, source)
ret, err := lagoonclient.DeleteProblemsFromSource(context.TODO(), apiClient, environment, service, source)
if err != nil {
return err
}
Expand Down

0 comments on commit e462013

Please sign in to comment.