restify route

This commit is contained in:
Christopher Moyer 2024-12-17 23:48:06 -05:00
parent de9d4a4cab
commit bf1ee8efe8

View file

@ -45,7 +45,7 @@ ____ __ ____ __ __ __ _______..______ _______ .______
let channel = connection.create_channel().await.unwrap();
let app = Router::new()
.route("/call-upload", post(upload_call))
.route("/calls", post(upload_call))
.layer(Extension(cfg.clone()))
.layer(Extension(channel));