@ -919,7 +919,7 @@ def invalidate_token(refresh_token):
@frappe.whitelist(methods=['POST'])
def deactivate_account():
def deactivate_account(refresh_token):
rate_res = custom_rate_limit(limit=5, seconds=15)
if rate_res != 1:
return rate_res