From 85470e8fe056988c015d3cb2c1618efaec35bb5a Mon Sep 17 00:00:00 2001 From: venkataakhil Date: Thu, 13 Jul 2023 11:46:03 +0530 Subject: [PATCH] Deactivate account --- smart_service/apis/app_user_login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_service/apis/app_user_login.py b/smart_service/apis/app_user_login.py index 1ff11dc..268a092 100644 --- a/smart_service/apis/app_user_login.py +++ b/smart_service/apis/app_user_login.py @@ -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