Skip to content

Commit

Permalink
Better grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Sep 3, 2024
1 parent ae0bd90 commit fff1591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/palace/manager/api/circulation_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class NoAvailableCopies(CannotLoan):

@property
def base(self) -> ProblemDetail:
return CHECKOUT_FAILED.detailed(detail="No available copies to check out.")
return CHECKOUT_FAILED.detailed(detail="No copies available to check out.")


class AlreadyCheckedOut(CannotLoan):
Expand Down
2 changes: 1 addition & 1 deletion tests/manager/api/test_bibliotheca.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ class TestErrorParser:
(
"the patron document status was CAN_HOLD and not one of CAN_LOAN,RESERVATION",
NoAvailableCopies,
"No available copies to check out.",
"No copies available to check out.",
"the patron document status was CAN_HOLD and not one of CAN_LOAN,RESERVATION",
),
(
Expand Down

0 comments on commit fff1591

Please sign in to comment.