aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-02-14 00:26:04 +0100
committerGitHub <noreply@github.com>2024-02-14 00:26:04 +0100
commit0ebfe2cd94c9336a861e8d99359132d6c8cf138f (patch)
treee0a84d2a251314719f6d374f27f837817eac6a61 /src-tauri/src
parent2c7e71771636df1e36acb0bd4d803178284f867d (diff)
downloadFlightCore-0ebfe2cd94c9336a861e8d99359132d6c8cf138f.tar.gz
FlightCore-0ebfe2cd94c9336a861e8d99359132d6c8cf138f.zip
refactor: Use `u64` for PR number (#808)
instead of `i64` as PR numbers can never be negative.
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/github/pull_requests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/github/pull_requests.rs b/src-tauri/src/github/pull_requests.rs
index 9c7e82f5..27e4f30c 100644
--- a/src-tauri/src/github/pull_requests.rs
+++ b/src-tauri/src/github/pull_requests.rs
@@ -29,7 +29,7 @@ struct CommitHead {
#[derive(Serialize, Deserialize, Debug, Clone, TS)]
#[ts(export)]
pub struct PullsApiResponseElement {
- number: i64,
+ number: u64,
title: String,
url: String,
head: CommitHead,