Make GraphQL parameters strict following Absinthe 1.7 validating
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -177,7 +177,7 @@ defmodule Mobilizon.Web.Resolvers.FollowerTest do
|
||||
end
|
||||
|
||||
@update_follower_mutation """
|
||||
mutation UpdateFollower($id: ID!, $approved: Boolean) {
|
||||
mutation UpdateFollower($id: ID!, $approved: Boolean!) {
|
||||
updateFollower(id: $id, approved: $approved) {
|
||||
id
|
||||
approved
|
||||
|
||||
Reference in New Issue
Block a user