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:
Egor Pavlovich Gorbunov 2025-05-15 11:26:53 +03:00
parent 11071996af
commit 1b252baf78

View file

@ -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()