Update users.py

This commit is contained in:
Aevann1 2021-09-17 07:59:45 +02:00 committed by GitHub
parent b82512f441
commit 0daeb07658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,6 @@ def transfer_coins(v, username):
transfer_message = f"🤑 [@{v.username}]({v.url}) has gifted you {amount} {app.config['COINS_NAME']}!"
send_notification(NOTIFICATIONS_ACCOUNT, receiver, transfer_message)
return {"message": f"{amount} {app.config['COINS_NAME']} transferred!"}, 200
return {"message": f"{app.config['COINS_NAME']} transferred!"}