Skip to content

Commit

Permalink
minor bug fix with transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
saffronjam committed Nov 15, 2023
1 parent 176f0b8 commit 266346d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/sys/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Deployment struct {
StatusMessage string `bson:"statusMessage"`
StatusCode int `bson:"statusCode"`

Transfer *Transfer `bson:"transfer"`
Transfer *Transfer `bson:"transfer,omitempty"`
}

func (deployment *Deployment) GetMainApp() *App {
Expand Down
2 changes: 1 addition & 1 deletion models/sys/vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type VM struct {
StatusCode int `bson:"statusCode"`
StatusMessage string `bson:"statusMessage"`

Transfer *Transfer `bson:"transfer"`
Transfer *Transfer `bson:"transfer,omitempty"`
}

type Specs struct {
Expand Down

0 comments on commit 266346d

Please sign in to comment.