Skip to content

Commit

Permalink
server: Fixed documentation feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
birkjernstrom committed Jan 3, 2025
1 parent 0758a25 commit 6706b37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/polar/customer_portal/endpoints/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
prefix="/subscriptions", tags=["subscriptions", APITag.documented, APITag.featured]
)

SubscriptionID = Annotated[UUID4, Path(description="Your subscription ID.")]
SubscriptionID = Annotated[UUID4, Path(description="Customer subscription ID.")]
SubscriptionNotFound = {
"description": "Your subscription was not found.",
"description": "Customer subscription was not found.",
"model": ResourceNotFound.schema(),
}

Expand Down
2 changes: 1 addition & 1 deletion server/polar/subscription/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async def update(
auth_subject: auth.SubscriptionsWrite,
session: AsyncSession = Depends(get_db_session),
) -> Subscription:
"""Update a subscription of the authenticated customer or user."""
"""Update a subscription."""
subscription = await subscription_service.user_get(session, auth_subject, id)
if subscription is None:
raise ResourceNotFound()
Expand Down

0 comments on commit 6706b37

Please sign in to comment.