diff --git a/app/graphql/resolvers/customers/invoice_custom_sections_resolver.rb b/app/graphql/resolvers/customers/invoice_custom_sections_resolver.rb index 94c47fb6412c..2f2081cae27e 100644 --- a/app/graphql/resolvers/customers/invoice_custom_sections_resolver.rb +++ b/app/graphql/resolvers/customers/invoice_custom_sections_resolver.rb @@ -17,7 +17,6 @@ def resolve(customer_id:, page: nil, limit: nil) rescue ActiveRecord::RecordNotFound not_found_error(resource: 'customer') end - end end end diff --git a/spec/graphql/resolvers/customers/invoice_custom_sections_resolver_spec.rb b/spec/graphql/resolvers/customers/invoice_custom_sections_resolver_spec.rb index 610104279033..84a8b6434957 100644 --- a/spec/graphql/resolvers/customers/invoice_custom_sections_resolver_spec.rb +++ b/spec/graphql/resolvers/customers/invoice_custom_sections_resolver_spec.rb @@ -24,7 +24,6 @@ organization.save end - it_behaves_like 'requires current user' it_behaves_like 'requires current organization' it 'returns a list of invoice_custom_sections' do