Formatting

This commit is contained in:
kdeng00
2025-04-30 21:42:33 -04:00
parent db1f035867
commit 031b1b611a
+4 -4
View File
@@ -1,4 +1,3 @@
pub mod response { pub mod response {
#[derive(Debug, Default, serde::Deserialize, serde::Serialize)] #[derive(Debug, Default, serde::Deserialize, serde::Serialize)]
pub struct Response { pub struct Response {
@@ -6,14 +5,15 @@ pub mod response {
} }
} }
pub mod endpoint { pub mod endpoint {
// TODO: Implement this // TODO: Implement this
pub async fn queue( pub async fn queue(
axum::Extension(pool): axum::Extension<sqlx::PgPool>, axum::Extension(pool): axum::Extension<sqlx::PgPool>,
mut multipart: axum::extract::Multipart, mut multipart: axum::extract::Multipart,
) -> (axum::http::StatusCode, axum::Json<super::response::Response>) { ) -> (
axum::http::StatusCode,
axum::Json<super::response::Response>,
) {
let response = super::response::Response::default(); let response = super::response::Response::default();
while let Some(field) = multipart.next_field().await.unwrap() { while let Some(field) = multipart.next_field().await.unwrap() {