Skip to content

Commit

Permalink
Merge pull request #1035 from griffithlab/additional-demo-queries
Browse files Browse the repository at this point in the history
fix column name
  • Loading branch information
acoffman authored Apr 18, 2024
2 parents 251eba9 + 065acf0 commit e9c96df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/graphql/resolvers/shared/variants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Resolvers::Shared::Variants < GraphQL::Schema::Resolver

option(:category, type: Types::VariantCategories) do |scope, value|
if value
scope.where(category: value)
scope.where(type: value)
else
scope
end
Expand Down

0 comments on commit e9c96df

Please sign in to comment.