From 192e72588dab456989f35dd30f0c5ebf43f269ec Mon Sep 17 00:00:00 2001 From: Relakkes Date: Fri, 26 Jan 2024 23:42:26 +0800 Subject: [PATCH] fix: #123 --- store/douyin/douyin_store_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/douyin/douyin_store_impl.py b/store/douyin/douyin_store_impl.py index 5273b77..a649407 100644 --- a/store/douyin/douyin_store_impl.py +++ b/store/douyin/douyin_store_impl.py @@ -120,7 +120,7 @@ class DouyinDbStoreImplement(AbstractStore): exclude=('id', 'add_ts')) comment_data = comment_pydantic(**comment_item) comment_pydantic.model_validate(comment_data) - await DouyinAwemeComment.filter(comment_id=comment_item).update(**comment_data.model_dump()) + await DouyinAwemeComment.filter(comment_id=comment_id).update(**comment_data.model_dump()) class DouyinJsonStoreImplement(AbstractStore):