Skip to content

Commit

Permalink
feat: code cleanup!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Nov 4, 2024
1 parent 8ae0919 commit 88a2eb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/persist_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ def persist_http(self, payload: HTTPPayload, update: bool = False) -> None:
{"taskId": payload.taskId},
{
"$set": {
"communityId": payload.communityId,
"question": payload.question.model_dump(),
"response": payload.response.model_dump(),
**payload.model_dump(),
"updatedAt": datetime.now().replace(tzinfo=timezone.utc),
}
},
Expand Down

0 comments on commit 88a2eb5

Please sign in to comment.