Skip to content

Commit

Permalink
fix(db): Adapt to DB rename in documents table
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Oct 12, 2023
1 parent bb25fe0 commit c7d0837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dsw-database/dsw/database/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DBDocument:
file_name: str
content_type: str
worker_log: str
creator_uuid: str
created_by: str
retrieved_at: Optional[datetime.datetime]
finished_at: Optional[datetime.datetime]
created_at: datetime.datetime
Expand All @@ -73,7 +73,7 @@ def from_dict_row(data: dict):
questionnaire_replies_hash=data['questionnaire_replies_hash'],
document_template_id=data['document_template_id'],
format_uuid=str(data['format_uuid']),
creator_uuid=str(data['creator_uuid']),
created_by=str(data['created_by']),
retrieved_at=data['retrieved_at'],
finished_at=data['finished_at'],
created_at=data['created_at'],
Expand Down

0 comments on commit c7d0837

Please sign in to comment.