From e879713ac8b4f4d168278a3ff32c720358f66ed7 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 16 Jun 2019 19:25:33 +0200 Subject: [PATCH] subject should be int. #292 --- app/graphql/types/query_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/types/query_type.rb b/app/graphql/types/query_type.rb index f0ba91b58..d567f97e9 100644 --- a/app/graphql/types/query_type.rb +++ b/app/graphql/types/query_type.rb @@ -119,7 +119,7 @@ def organization(id:) argument :certified, Boolean, required: false argument :disciplinary, Boolean, required: false argument :software, String, required: false - argument :subject, String, required: false + argument :subject, Int, required: false argument :first, Int, required: false, default_value: 25 end