Skip to content

Commit acaf715

Browse files
authored
Merge pull request #129 from herztard/patch-1
updated_at field check fix
2 parents ee78a60 + d2a7ec9 commit acaf715

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

amocrm/v2/entity/call.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def create(
6161
}
6262
if created_at:
6363
data["created_at"] = created_at.timestamp()
64-
if created_at:
64+
if updated_at:
6565
data["updated_at"] = updated_at.timestamp()
6666
response, status_ = self.request("post", "calls", data=[data])
6767
if status_ == 400:

0 commit comments

Comments
 (0)