This commit is contained in:
Mateusz Gruszczyński committed 2026-10-04 11:15:58 +02:00
1 parent 87e571c170
commit fa7abc9e53
308 files changed
+49746 -50237

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
async fn acme_renew(
State(state): State<Arc<App>>,
Extension(session): Extension<Session>,
Json(input): Json<RenewRequest>,
) -> Result<Response, ApiError> {
let job = crate::acme::Manager::renew(
state,
&input.certificate_id,
session.username,
input.dry_run,
false,
)
.await?;
Ok((StatusCode::ACCEPTED, Json(json!({"job":job}))).into_response())
}