Skip to content

Commit 16a4342

Browse files
fix: use 'any' type instead of 'interface{}' in MarshalJSON
Signed-off-by: Holger Waschke <[email protected]>
1 parent ea824de commit 16a4342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notify/jira/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type issueTransitions struct {
6969

7070
// MarshalJSON merges the struct issueFields and issueFields.CustomField together.
7171
func (i issueFields) MarshalJSON() ([]byte, error) {
72-
jsonFields := map[string]interface{}{}
72+
jsonFields := map[string]any{}
7373

7474
if i.Summary != nil {
7575
jsonFields["summary"] = *i.Summary

0 commit comments

Comments
 (0)