fix: return StoredPublishReport with content to frontend after publish

This commit is contained in:
Avi 2026-09-01 13:47:36 -05:00
commit 577e9f4711

View file

@ -473,8 +473,8 @@ async fn run_with_app(app: &mut App, request: Request) -> Result<serde_json::Val
if let Err(e) = crate::vault::save_last_publish(&stored) {
eprintln!("Could not save last publish report: {e}");
}
app.last_publish = Some(stored);
Ok(json!(report))
app.last_publish = Some(stored.clone());
Ok(json!(stored))
}
Request::RelayAdd { url } => {