Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 8ddd68f

Browse files
committed
fix Json return type
1 parent 8f01c54 commit 8ddd68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqld/src/http/admin/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async fn handle_diagnostics<M: MakeNamespace>(
105105
drop(stream_state);
106106

107107
tracing::trace!("diagnostics: {diagnostics:?}");
108-
Ok(diagnostics)
108+
Ok(Json(diagnostics))
109109
}
110110

111111
#[derive(Debug, Deserialize)]

0 commit comments

Comments
 (0)