Skip to content

Commit c1c6183

Browse files
committed
Remove duplicate set_auth_headers definition
1 parent 22c8b5b commit c1c6183

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • app/graphql/graphql_devise/mutations

app/graphql/graphql_devise/mutations/base.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ def controller
3131
context[:controller]
3232
end
3333

34-
def set_auth_headers(resource)
35-
auth_headers = resource.create_new_auth_token
36-
response.headers.merge!(auth_headers)
37-
end
38-
3934
def resource_class
4035
context[:resource_class]
4136
end

0 commit comments

Comments
 (0)