diff --git a/api/environments/environment_handler.go b/api/environments/environment_handler.go index b06b09c3..816c2a44 100644 --- a/api/environments/environment_handler.go +++ b/api/environments/environment_handler.go @@ -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 }