Skip to content

Commit

Permalink
fix: same thing
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 22, 2024
1 parent 6bf54c7 commit a441921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/user_questions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ class Point(Base):

notes = relationship(
"Note",
primaryjoin=and_(id == foreign(Note.parent_id), Note.parent_type == "note"),
primaryjoin=and_(id == foreign(Note.parent_id), Note.parent_type == "point"),
backref="point",
)

0 comments on commit a441921

Please sign in to comment.