fix: return StoredPublishReport with content to frontend after publish
This commit is contained in:
parent
a017dd10aa
commit
577e9f4711
1 changed files with 2 additions and 2 deletions
|
|
@ -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 } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue