diff --git a/app/graphql/resolvers/base.rb b/app/graphql/resolvers/base.rb index 4e4d22c77..a714d8d66 100644 --- a/app/graphql/resolvers/base.rb +++ b/app/graphql/resolvers/base.rb @@ -1,5 +1,2 @@ -module Resolvers - class Base < GraphQL::Schema::Resolver - - end +class Base < GraphQL::Schema::Resolver end diff --git a/app/graphql/resolvers/content_url.rb b/app/graphql/resolvers/content_url.rb index b60f72ab0..1b708d3be 100644 --- a/app/graphql/resolvers/content_url.rb +++ b/app/graphql/resolvers/content_url.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class ContentUrl < Resolvers::Base +class ContentUrl < Base type Url, null: false def resolve