improved actix structure.

This commit is contained in:
didier amyot committed 2023-03-09 09:35:42 -05:00
1 parent e14af22d3c
commit 663bf85257
4 files changed
+32 -34

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ struct CreateEventPayload {
event_type: String,
}
#[actix_web::post("/v1/events/{event_type}")]
#[actix_web::post("/events/{event_type}")]
pub async fn push_event(
req: HttpRequest,
tmpl_env: MiniJinjaRenderer,