Skip to content

Commit

Permalink
#1374 refresh_subscription login required
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jul 17, 2024
1 parent 1eae734 commit 8d5d7db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subscribie/blueprints/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,7 @@ def show_recent_subscription_cancellations():


@admin.route("/refresh-subscription-status/<subscription_uuid>", methods=["GET"])
@login_required
def refresh_subscription(subscription_uuid: str):
update_stripe_subscription_status(subscription_uuid)
flash("The subscription status has been force refreshed")
Expand Down

0 comments on commit 8d5d7db

Please sign in to comment.