aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/github/release_notes.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-25 21:10:05 +0100
committerGitHub <noreply@github.com>2022-11-25 21:10:05 +0100
commit04c1da4e9cbbd6c3f7e63b9b40160f68cd641331 (patch)
tree7755ff89821e1f6869c0939f1571e0efe5ea77ff /src-tauri/src/github/release_notes.rs
parent2cc698a62119a45f87a20a9c56f9acca92c618d5 (diff)
downloadFlightCore-04c1da4e9cbbd6c3f7e63b9b40160f68cd641331.tar.gz
FlightCore-04c1da4e9cbbd6c3f7e63b9b40160f68cd641331.zip
chore: Update all references of personal repo (#70)
and change them to R2NorthstarTools org
Diffstat (limited to 'src-tauri/src/github/release_notes.rs')
-rw-r--r--src-tauri/src/github/release_notes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-tauri/src/github/release_notes.rs b/src-tauri/src/github/release_notes.rs
index 9a87c49b..f5389d77 100644
--- a/src-tauri/src/github/release_notes.rs
+++ b/src-tauri/src/github/release_notes.rs
@@ -12,7 +12,7 @@ pub struct ReleaseInfo {
async fn fetch_github_releases_api(url: &str) -> Result<String, String> {
println!("Fetching releases notes from GitHub API");
- let user_agent = "GeckoEidechse/FlightCore";
+ let user_agent = "R2NorthstarTools/FlightCore";
let client = reqwest::Client::new();
let res = client
.get(url)
@@ -33,7 +33,7 @@ async fn fetch_github_releases_api(url: &str) -> Result<String, String> {
pub async fn check_is_flightcore_outdated() -> Result<bool, String> {
// Get newest version number from GitHub API
println!("Checking GitHub API");
- let url = "https://api.github.com/repos/GeckoEidechse/FlightCore/releases/latest";
+ let url = "https://api.github.com/repos/R2NorthstarTools/FlightCore/releases/latest";
let res = fetch_github_releases_api(url).await?;
let json_response: serde_json::Value =