feat(presentation): add DELETE /api/reviews/:id handler and route

This commit is contained in:
2026-05-04 14:24:48 +02:00
parent 8d7700995d
commit f74a36a16f
2 changed files with 23 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ fn api_routes() -> Router<AppState> {
routing::get(handlers::api::get_review_history),
)
.route("/reviews", routing::post(handlers::api::post_review))
.route("/reviews/{id}", routing::delete(handlers::api::delete_review))
.route(
"/movies/{id}/sync-poster",
routing::post(handlers::api::sync_poster),