Skip to content

Commit

Permalink
Fix unikey case
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 5, 2023
1 parent 7ae13c9 commit fbdece5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/graphql/types/query_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ def essence(full_identifier:, filename:)
item.essences.find_by(filename:)
end

field :user_by_uni_key, EmailUserType, 'Find a user by their unikey' do
field :user_by_unikey, EmailUserType, 'Find a user by their unikey' do
argument :unikey, String
end

def user_by_uni_key(unikey:)
def user_by_unikey(unikey:)
User.find_by(unikey:)
end

Expand Down

0 comments on commit fbdece5

Please sign in to comment.