Skip to content

Commit 32b0c41

Browse files
authored
add the missing URL field to ChangeInfo (#28)
This field is usually included as as part of an event from the events-log plugin.
1 parent 8adc2df commit 32b0c41

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ first. For more complete details see
2525
it easier to test against externally and also fixes a lint issue too.
2626
* Updated NewClient function to handle credentials in the url.
2727
* Added the missing `Submitted` field to `ChangeInfo`.
28+
* Added the missing `URL` field to `ChangeInfo` which is usually included
29+
as part of an event from the events-log plugin.
2830

2931
### 0.1.0
3032

changes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ type DiffIntralineInfo []struct {
243243
// ChangeInfo entity contains information about a change.
244244
type ChangeInfo struct {
245245
ID string `json:"id"`
246+
URL string `json:"url,omitempty"`
246247
Project string `json:"project"`
247248
Branch string `json:"branch"`
248249
Topic string `json:"topic,omitempty"`

0 commit comments

Comments
 (0)