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
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/SubscriptionOption'
|
$ref: '#/components/schemas/SubscriptionOption'
|
||||||
/api/v1/subscriptions/enable:
|
|
||||||
post:
|
post:
|
||||||
summary: Enable subscriptions
|
summary: Enable subscriptions
|
||||||
security:
|
security:
|
||||||
|
|
|
@ -78,7 +78,7 @@ async fn get_subscription_options(
|
||||||
Ok(HttpResponse::Ok().json(options))
|
Ok(HttpResponse::Ok().json(options))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[post("/enable")]
|
#[post("/options")]
|
||||||
pub async fn subscriptions_enabled(
|
pub async fn subscriptions_enabled(
|
||||||
auth: BearerAuth,
|
auth: BearerAuth,
|
||||||
config: web::Data<Config>,
|
config: web::Data<Config>,
|
||||||
|
|
Loading…
Reference in a new issue