Add source_id to HookUser.

This must be a new field that gitea added in an update.
This commit is contained in:
Tom Alexander
2024-10-18 19:41:56 -04:00
parent f3b00c46ea
commit e991b259f2
6 changed files with 27 additions and 25 deletions

View File

@@ -28,6 +28,8 @@ pub(crate) struct HookUser {
id: u64,
login: String,
login_name: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
source_id: Option<u64>,
full_name: String,
email: String,
avatar_url: String,