Features: 1) Allow referrer field to accept a string instead of UUID;
Fixes: None; Extra: 1) Fix indentation inconsistencies in `mutate` method and attribute check block;
This commit is contained in:
parent
11071996af
commit
1b252baf78
1 changed files with 23 additions and 23 deletions
|
|
@ -37,7 +37,7 @@ class CreateUser(BaseMutation):
|
||||||
phone_number = String()
|
phone_number = String()
|
||||||
is_subscribed = Boolean()
|
is_subscribed = Boolean()
|
||||||
language = String()
|
language = String()
|
||||||
referrer = UUID(required=False, description=_("the user's b64-encoded uuid who referred the new user to us."))
|
referrer = String(required=False, description=_("the user's b64-encoded uuid who referred the new user to us."))
|
||||||
|
|
||||||
success = Boolean()
|
success = Boolean()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue