Skip to content

Commit

Permalink
fix(project-environment): empty position arg defaults to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Dec 3, 2024
1 parent 38ef02b commit 7fef1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ type CreateProjectEnvironmentRequest struct {
Name string `json:"name"`
Slug string `json:"slug"`
ProjectID string `json:"workspaceId"`
Position int64 `json:"position"`
Position int64 `json:"position,omitempty"`
}

type CreateProjectEnvironmentResponse struct {
Expand Down

0 comments on commit 7fef1a5

Please sign in to comment.