Skip to content

Commit

Permalink
Add missing API response for model (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3than authored Jun 19, 2020
1 parent 87ce546 commit a8d562c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,16 @@ type PipelineBuildNumber struct {
type BranchingModel struct {
Type string
Branch_Types []BranchType
Development BranchDevelopment
Development BranchModel
Production BranchModel
}

type BranchType struct {
Kind string
Prefix string
}

type BranchDevelopment struct {
type BranchModel struct {
Name string
Branch RepositoryBranch
Use_Mainbranch bool
Expand Down Expand Up @@ -167,7 +168,7 @@ func (r *Repository) GetFileBlob(ro *RepositoryBlobOptions) (*RepositoryBlob, er
if err != nil {
return nil, err
}

blob := RepositoryBlob{Content: content}

return &blob, nil
Expand Down

0 comments on commit a8d562c

Please sign in to comment.