Delete scheduled message event endpoint #19

Merged
phoenix merged 8 commits from delete_scheduled_message_event_endpoint into alot_of_changes 2026-06-19 16:02:53 -04:00
Showing only changes of commit c953491cc8 - Show all commits
-8
View File
@@ -430,19 +430,11 @@ mod request {
app: &axum::Router,
scheduled_message_event_id: &uuid::Uuid,
) -> Result<axum::response::Response, axum::http::Error> {
/*
let uri = format!(
"{}?scheduled_message_id={}",
textsender_api::caller::endpoints::GET_SCHEDULED_MESSAGE_EVENT,
scheduled_message_id
);
*/
let uri = super::super::super::util::format_url_with_value(
textsender_api::caller::endpoints::DELETE_SCHEDULED_MESSAGE_EVENT,
scheduled_message_event_id,
)
.await;
println!("Link: {uri:?}");
match super::super::run_post(None, &uri, axum::http::Method::DELETE, false).await {
Ok(req) => match app.clone().oneshot(req).await {