fix(ui): fix nightly release notifications (#1394)
This commit is contained in:
parent
5c6b383b60
commit
29fc20671d
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
||||||
this.version = (await fetch("/api/config").then((r) => r.json())).version;
|
this.version = (await fetch("/api/config").then((r) => r.json())).version;
|
||||||
this.githubVersion = (await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases/latest").then((r) => r.json()));
|
this.githubVersion = (await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases/latest").then((r) => r.json()));
|
||||||
if (this.buildVersionIsNightly) {
|
if (this.buildVersionIsNightly) {
|
||||||
this.nightlyData = (await fetch("https://api.github.com/repos/LizardByte/Sunshine/actions/workflows/CI.yml/runs?branch=nightly&status=success&per_page=1").then((r) => r.json())).workflow_runs[0];
|
this.nightlyData = (await fetch("https://api.github.com/repos/LizardByte/Sunshine/actions/workflows/CI.yml/runs?branch=nightly&event=push&exclude_pull_requests=true&per_page=1").then((r) => r.json())).workflow_runs[0];
|
||||||
}
|
}
|
||||||
} catch(e){
|
} catch(e){
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue