diff options
Diffstat (limited to 'app/graphql/types/notes')
-rw-r--r-- | app/graphql/types/notes/noteable_type.rb | 2 | ||||
-rw-r--r-- | app/graphql/types/notes/position_type_enum.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/notes/noteable_type.rb b/app/graphql/types/notes/noteable_type.rb index f8626d249a1..a82a76f9c87 100644 --- a/app/graphql/types/notes/noteable_type.rb +++ b/app/graphql/types/notes/noteable_type.rb @@ -28,4 +28,4 @@ module Types end end -Types::Notes::NoteableType.prepend_if_ee('::EE::Types::Notes::NoteableType') +Types::Notes::NoteableType.prepend_mod_with('Types::Notes::NoteableType') diff --git a/app/graphql/types/notes/position_type_enum.rb b/app/graphql/types/notes/position_type_enum.rb index 9939f6511ce..18934636670 100644 --- a/app/graphql/types/notes/position_type_enum.rb +++ b/app/graphql/types/notes/position_type_enum.rb @@ -6,8 +6,8 @@ module Types graphql_name 'DiffPositionType' description 'Type of file the position refers to' - value 'text', description: "A text file" - value 'image', description: "An image" + value 'text', description: "A text file." + value 'image', description: "An image." end end end |