Rename /api/v1/subscriptions/enable to /api/v1/subscriptions/options
This commit is contained in:
parent
596c13c0bb
commit
5b071f050b
2 changed files with 1 additions and 2 deletions
|
@ -686,7 +686,6 @@ paths:
|
|||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/SubscriptionOption'
|
||||
/api/v1/subscriptions/enable:
|
||||
post:
|
||||
summary: Enable subscriptions
|
||||
security:
|
||||
|
|
|
@ -78,7 +78,7 @@ async fn get_subscription_options(
|
|||
Ok(HttpResponse::Ok().json(options))
|
||||
}
|
||||
|
||||
#[post("/enable")]
|
||||
#[post("/options")]
|
||||
pub async fn subscriptions_enabled(
|
||||
auth: BearerAuth,
|
||||
config: web::Data<Config>,
|
||||
|
|
Loading…
Reference in a new issue