Skip to content

Commit

Permalink
Remove LCP change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Sep 6, 2024
1 parent 0925c1b commit 7658d92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/palace/manager/api/odl/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,7 @@ def _lcp_fulfill(
if content_link is None or content_type is None:
raise CannotFulfill()

return FetchFulfillment(
content_link, content_type, allowed_response_codes=["2xx"]
)
return FetchFulfillment(content_link, content_type)

def _bearer_token_fulfill(
self, loan: Loan, delivery_mechanism: LicensePoolDeliveryMechanism
Expand Down
1 change: 0 additions & 1 deletion tests/manager/api/odl/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,6 @@ def test_fulfill_success(
assert isinstance(fulfillment, FetchFulfillment)
assert correct_link == fulfillment.content_link
assert correct_type == fulfillment.content_type
assert ["2xx"] == fulfillment.allowed_response_codes

def test_fulfill_open_access(
self,
Expand Down

0 comments on commit 7658d92

Please sign in to comment.