improved actix structure.
This commit is contained in:
1 parent
e14af22d3c
commit
663bf85257
4 files changed
+32
-34
No files matched your search
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user