fix(rate_limiter): we can't call str.join([]) with NoneTypes in the list
Default to an empty string for `user_key` Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
43385060e1
commit
ad0a9106de
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ def rate_limit(
|
|||
|
||||
ip = frappe.local.request_ip if ip_based is True else None
|
||||
|
||||
user_key = frappe.form_dict.get(key)
|
||||
user_key = frappe.form_dict.get(key, "")
|
||||
|
||||
identity = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue