From a1f0da638c8b6ba32209318b105bde1efdd47082 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 1 Jan 2022 13:04:47 +0000 Subject: [PATCH] Rename web vault version file https://github.com/dani-garcia/bw_web_builds/pull/58 --- src/api/admin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/admin.rs b/src/api/admin.rs index 71e88aa0..38d30c99 100644 --- a/src/api/admin.rs +++ b/src/api/admin.rs @@ -485,7 +485,7 @@ fn diagnostics(_token: AdminToken, ip_header: IpHeader, conn: DbConn) -> ApiResu // Get current running versions let web_vault_version: WebVaultVersion = - match read_file_string(&format!("{}/{}", CONFIG.web_vault_folder(), "bwrs-version.json")) { + match read_file_string(&format!("{}/{}", CONFIG.web_vault_folder(), "vw-version.json")) { Ok(s) => serde_json::from_str(&s)?, _ => match read_file_string(&format!("{}/{}", CONFIG.web_vault_folder(), "version.json")) { Ok(s) => serde_json::from_str(&s)?,