mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-11 15:06:48 +09:00
fix(ui): fix nightly release notifications (#1394)
This commit is contained in:
1 parent
5c6b383b60
commit
29fc20671d
1 file changed
+1
-1
@@ -90,7 +90,7 @@
|
||||
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()));
|
||||
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){
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user