From a6c8d299f5ecbd81925babb9b2a0f63639c00918 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 17 Dec 2023 09:06:20 +0000 Subject: [PATCH] update ref_field to real name 'ref' on CreateIssueOpen --- src/types/api/creation/issue.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/api/creation/issue.rs b/src/types/api/creation/issue.rs index e25caeb..32a82e5 100644 --- a/src/types/api/creation/issue.rs +++ b/src/types/api/creation/issue.rs @@ -21,6 +21,7 @@ pub struct CreateIssueOption { /// The milestone ID for the issue. pub milestone: Option, /// The reference for the issue. + #[serde(rename = "ref")] pub ref_field: String, /// The title of the issue (required). pub title: String,