summaryrefslogtreecommitdiff
path: root/app/graphql/types/notes/noteable_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/notes/noteable_type.rb')
-rw-r--r--app/graphql/types/notes/noteable_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/types/notes/noteable_type.rb b/app/graphql/types/notes/noteable_type.rb
index 2ac66452841..187c9109f8c 100644
--- a/app/graphql/types/notes/noteable_type.rb
+++ b/app/graphql/types/notes/noteable_type.rb
@@ -17,6 +17,8 @@ module Types
Types::MergeRequestType
when Snippet
Types::SnippetType
+ when ::DesignManagement::Design
+ Types::DesignManagement::DesignType
else
raise "Unknown GraphQL type for #{object}"
end
@@ -25,5 +27,3 @@ module Types
end
end
end
-
-Types::Notes::NoteableType.extend_if_ee('::EE::Types::Notes::NoteableType')