Skip to content

Commit 7859111

Browse files
committed
wire list_branches
1 parent 5d28623 commit 7859111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func ListBranches(t translations.TranslationHelperFunc) inventory.ServerTool {
304304
minimalBranches = append(minimalBranches, convertToMinimalBranch(branch))
305305
}
306306

307-
r, err := json.Marshal(minimalBranches)
307+
r, err := response.MarshalItems(minimalBranches)
308308
if err != nil {
309309
return nil, nil, fmt.Errorf("failed to marshal response: %w", err)
310310
}

0 commit comments

Comments
 (0)