From cebb4d9fc8ccc3780dbbacb5bb868fcbe8ed422b Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 31 Aug 2020 11:50:43 +0200 Subject: [PATCH] fix graphql namespace for resolvers. #619 --- app/graphql/resolvers/base.rb | 5 +---- app/graphql/resolvers/content_url.rb | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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