summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/project/dast_profile_connection_extension.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/graphql/project/dast_profile_connection_extension.rb')
-rw-r--r--lib/gitlab/graphql/project/dast_profile_connection_extension.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/graphql/project/dast_profile_connection_extension.rb b/lib/gitlab/graphql/project/dast_profile_connection_extension.rb
index a3c3f2f2b7e..45f90de2f17 100644
--- a/lib/gitlab/graphql/project/dast_profile_connection_extension.rb
+++ b/lib/gitlab/graphql/project/dast_profile_connection_extension.rb
@@ -2,7 +2,7 @@
module Gitlab
module Graphql
module Project
- class DastProfileConnectionExtension < GraphQL::Schema::Field::ConnectionExtension
+ class DastProfileConnectionExtension < GraphQL::Schema::FieldExtension
def after_resolve(value:, object:, context:, **rest)
preload_authorizations(context[:project_dast_profiles])
context[:project_dast_profiles] = nil