There it goes

This commit is contained in:
2026-06-19 17:06:30 -04:00
parent 5721990f5f
commit 700bc61d92
2 changed files with 42 additions and 28 deletions
+10 -2
View File
@@ -388,7 +388,9 @@ mod request {
"status": updated_status
});
match super::super::run_post(Some(&payload), &uri, axum::http::Method::PATCH, true).await {
match super::super::run_post(Some(&payload), &uri, axum::http::Method::PATCH, true)
.await
{
Ok(req) => match app.clone().oneshot(req).await {
Ok(response) => Ok(response),
Err(err) => Err(axum::http::Error::from(err)),
@@ -1120,7 +1122,13 @@ async fn test_update_scheduled_message_status() {
}
}
match request::message::scheduling::update_scheduled_message_status(&app, &scheduled_message_id, textsender_models::message::scheduling::READY).await {
match request::message::scheduling::update_scheduled_message_status(
&app,
&scheduled_message_id,
textsender_models::message::scheduling::READY,
)
.await
{
Ok(response) => {
let resp = util::get_resp_data::<
textsender_api::caller::message::scheduling::response::UpdateScheduledMessageStatusResponse,