Skip to content

Commit

Permalink
Создавать копию объекта params в UserRequestAbstract (#244)
Browse files Browse the repository at this point in the history
* Создавать копию объекта params в UserRequestAbstract
Fixes #238

* Fix if params is None
  • Loading branch information
leshchenko1979 authored Jul 23, 2024
1 parent 58b9871 commit 8e1fb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast_bitrix24/user_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(

# st_params будет использоваться для проверки параметров,
# но на сервер должны уходить параметры без изменения регистра
self.params = params
self.params = params.copy() if params else {}
self.st_params = self.standardized_params(params)

self.mute = mute
Expand Down

0 comments on commit 8e1fb6f

Please sign in to comment.