diff --git a/issue_trigger.go b/issue_trigger.go index 7b5ef83..37b8e17 100644 --- a/issue_trigger.go +++ b/issue_trigger.go @@ -311,7 +311,7 @@ func (i *IssueTriggerUpdateRequest) MarshalJSON() ([]byte, error) { DisabledAt *core.DateTime `json:"disabled_at,omitempty"` }{ embed: embed(*i), - DisabledAt: core.NewDateTimeFromOptional(i.DisabledAt), + DisabledAt: NewDateTimeFromOptional(i.DisabledAt), } return json.Marshal(marshaler) }