Get Message Event Response endpoint (#23)
textsender_api PR / Rustfmt (pull_request) Successful in 50s
textsender_api PR / Clippy (pull_request) Successful in 1m22s
textsender_api PR / Check (pull_request) Successful in 2m11s
Rust Build / Rustfmt (pull_request) Successful in 37s
Rust Build / Test Suite (pull_request) Successful in 40s
textsender_api PR / Rustfmt (pull_request) Successful in 50s
textsender_api PR / Clippy (pull_request) Successful in 1m22s
textsender_api PR / Check (pull_request) Successful in 2m11s
Rust Build / Rustfmt (pull_request) Successful in 37s
Rust Build / Test Suite (pull_request) Successful in 40s
Reviewed-on: phoenix/textsender_api#23
This commit was merged in pull request #23.
This commit is contained in:
@@ -96,7 +96,7 @@ async fn parse_row(
|
||||
let contact_id: uuid::Uuid = row.try_get("contact_id")?;
|
||||
let message_id: uuid::Uuid = row.try_get("message_id")?;
|
||||
let sent: time::OffsetDateTime = row.try_get("sent")?;
|
||||
let scheduled_message_id: uuid::Uuid = row.try_get("scheduled_message_id")?;
|
||||
let scheduled_message_event_id: uuid::Uuid = row.try_get("scheduled_message_event_id")?;
|
||||
let user_id: uuid::Uuid = row.try_get("user_id")?;
|
||||
|
||||
Ok(textsender_models::message::event::MessageEventResponse {
|
||||
@@ -106,7 +106,7 @@ async fn parse_row(
|
||||
message_id,
|
||||
status,
|
||||
sent: Some(sent),
|
||||
scheduled_message_event_id: scheduled_message_id,
|
||||
scheduled_message_event_id,
|
||||
user_id,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user