Skip to content

Commit a8d562c

Browse files
authored
Add missing API response for model (#90)
1 parent 87ce546 commit a8d562c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

repository.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,16 @@ type PipelineBuildNumber struct {
109109
type BranchingModel struct {
110110
Type string
111111
Branch_Types []BranchType
112-
Development BranchDevelopment
112+
Development BranchModel
113+
Production BranchModel
113114
}
114115

115116
type BranchType struct {
116117
Kind string
117118
Prefix string
118119
}
119120

120-
type BranchDevelopment struct {
121+
type BranchModel struct {
121122
Name string
122123
Branch RepositoryBranch
123124
Use_Mainbranch bool
@@ -167,7 +168,7 @@ func (r *Repository) GetFileBlob(ro *RepositoryBlobOptions) (*RepositoryBlob, er
167168
if err != nil {
168169
return nil, err
169170
}
170-
171+
171172
blob := RepositoryBlob{Content: content}
172173

173174
return &blob, nil

0 commit comments

Comments
 (0)