Skip to content

Commit

Permalink
Given access to events for user (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
satr authored Apr 2, 2024
1 parent 44b55c6 commit 4ed2614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/environments/environment_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (eh EnvironmentHandler) GetEnvironment(ctx context.Context, appName, envNam
if err != nil {
return nil, err
}
eventList, err := kubequery.GetEventsForEnvironment(ctx, eh.accounts.ServiceAccount.Client, appName, envName)
eventList, err := kubequery.GetEventsForEnvironment(ctx, eh.accounts.UserAccount.Client, appName, envName)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 4ed2614

Please sign in to comment.