master #14
@@ -1241,6 +1241,13 @@ fn map_match3d_work_summary_response(item: Match3DWorkProfileRecord) -> Match3DW
|
||||
}
|
||||
}
|
||||
|
||||
fn match3d_bad_gateway(message: impl Into<String>) -> AppError {
|
||||
AppError::from_status(StatusCode::BAD_GATEWAY).with_details(json!({
|
||||
"provider": MATCH3D_AGENT_PROVIDER,
|
||||
"message": message.into(),
|
||||
}))
|
||||
}
|
||||
|
||||
fn map_match3d_work_profile_response(item: Match3DWorkProfileRecord) -> Match3DWorkProfileResponse {
|
||||
Match3DWorkProfileResponse {
|
||||
summary: map_match3d_work_summary_response(item),
|
||||
|
||||
Reference in New Issue
Block a user