Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 17, 2023
1 parent f76429c commit 6ca31e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion chii/timeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class SubjectMemo(BaseModel):
collect_comment: str
collect_rate: int
subject_id: str
subject_series: bool = False


class SubjectImage(BaseModel):
Expand Down
2 changes: 0 additions & 2 deletions rpc/timeline_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def merge_previous_timeline(

memo[req.subject.id] = SubjectMemo(
subject_id=str(req.subject.id),
subject_series=req.subject.series,
collect_comment=escaped,
collect_rate=req.rate,
)
Expand Down Expand Up @@ -133,7 +132,6 @@ def create_subject_collection_timeline(
):
memo = SubjectMemo(
subject_id=str(req.subject.id),
subject_series=req.subject.series,
collect_comment=html.escape(req.comment),
collect_rate=req.rate,
)
Expand Down

0 comments on commit 6ca31e2

Please sign in to comment.