mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-01 15:34:48 +00:00
Merge commit '1e5306b820
' into 2fa_enforcement
This commit is contained in:
commit
f707f86c8e
6 changed files with 19 additions and 11 deletions
|
@ -522,7 +522,7 @@ fn diagnostics(_token: AdminToken, ip_header: IpHeader, conn: DbConn) -> ApiResu
|
|||
Ok(r) => r.tag_name,
|
||||
_ => "-".to_string(),
|
||||
},
|
||||
match get_github_api::<GitCommit>("https://api.github.com/repos/dani-garcia/vaultwarden/commits/master") {
|
||||
match get_github_api::<GitCommit>("https://api.github.com/repos/dani-garcia/vaultwarden/commits/main") {
|
||||
Ok(mut c) => {
|
||||
c.sha.truncate(8);
|
||||
c.sha
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue