+ Telegram bot: sign up, sign in, notifications + Anonymous users can't see yuan_rate_commission * Only logged in customers can create/update orders * Customer info migrated to separate User model * Renamed legacy fields in serializers * Cleanup in API classes
4 lines
158 B
Python
4 lines
158 B
Python
def extract_deep_link(text):
|
|
""" Extracts the unique_code from the sent /start command. """
|
|
return text.split()[1] if len(text.split()) > 1 else None
|