Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Dec 14, 2024
1 parent f0e4e31 commit 926159c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions things_cloud/models/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Status(int, Enum):

@define
class Note:
_t: str = field(init=False, default="tx")
_t: str = field(alias="_t", default="tx")
ch: int = 0
v: str = "" # value
t: int = 0
Expand Down Expand Up @@ -320,7 +320,7 @@ def update(self, update: TodoItem, keys: set[str]) -> None:
_today_index_reference_date=override(rename="tir"),
_completion_date=override(rename="sp"),
_due_date=override(rename="dd"),
_in_trash=override(rename="tr"),
_trashed=override(rename="tr"),
_instance_creation_paused=override(rename="icp"),
_projects=override(rename="pr"),
_areas=override(rename="ar"),
Expand Down

0 comments on commit 926159c

Please sign in to comment.