Update UPGRADE-v2.0.md

I believe this line was intended to be indented.
This commit is contained in:
Scot Matson 2017-07-25 17:44:46 -07:00 committed by GitHub
parent e71b59a8c3
commit 84fc2e3b93

View File

@ -124,8 +124,8 @@ Example. Before:
class UserInput(InputObjectType):
id = ID()
def is_user_id(id):
return id.startswith('userid_')
def is_user_id(id):
return id.startswith('userid_')
class Query(ObjectType):
user = graphene.Field(User, input=UserInput())