mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Fix delete backup endpoint (#9890)
This commit is contained in:
parent
791f3b896d
commit
035d621109
@ -280,9 +280,9 @@ class HassioBackupDialog
|
|||||||
atLeastVersion(this.hass.config.version, 2021, 9) ? "DELETE" : "POST",
|
atLeastVersion(this.hass.config.version, 2021, 9) ? "DELETE" : "POST",
|
||||||
`hassio/${
|
`hassio/${
|
||||||
atLeastVersion(this.hass.config.version, 2021, 9)
|
atLeastVersion(this.hass.config.version, 2021, 9)
|
||||||
? "backups"
|
? `backups/${this._backup!.slug}`
|
||||||
: "snapshots"
|
: `snapshots/${this._backup!.slug}/remove`
|
||||||
}/${this._backup!.slug}/remove`
|
}`
|
||||||
)
|
)
|
||||||
.then(
|
.then(
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user