Skip to content

Commit

Permalink
Fixed open access links to be the right model
Browse files Browse the repository at this point in the history
  • Loading branch information
RishiDiwanTT committed Aug 24, 2023
1 parent bf4df86 commit 47cfac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/feed_protocol/annotator/circulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ def open_access_link(self, pool, lpdm):
href = rep.public_url
kw["href"] = href
kw.update(self.rights_attributes(lpdm))
link = Link(**kw)
link.availability = FeedEntryType(status="available")
link = Acquisition(**kw)
link.availability_status = "available"
return link

def rights_attributes(self, lpdm):
Expand Down

0 comments on commit 47cfac0

Please sign in to comment.