Skip to content

Commit

Permalink
EKIRJASTO-131 remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-kaisa committed Dec 23, 2024
1 parent 3df242c commit 47e4eb0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions api/controller/select_books.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ def fetch_books(self):
mime_types=flask.request.accept_mimetypes,
)

# For loans, the patron's last loan activity sync time was set. Not yet
# clear if such is needed for selected books.
# response.last_modified = last_modified

return response

def unselect(self, identifier_type, identifier):
Expand Down
1 change: 0 additions & 1 deletion core/model/patron.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,6 @@ class SelectedBook(Base):
work_id = Column(Integer, ForeignKey("works.id"))
creation_date = Column(DateTime(timezone=True))


__table_args__ = (UniqueConstraint("patron_id", "work_id"),)

def __init__(self, patron, work):
Expand Down

0 comments on commit 47e4eb0

Please sign in to comment.