Skip to content

Commit

Permalink
Merge pull request #77 from Infisical/daniel/fix-no-pos-arg
Browse files Browse the repository at this point in the history
fix(project-environment): empty position arg defaults to 0
  • Loading branch information
DanielHougaard authored Dec 3, 2024
2 parents 38ef02b + 7fef1a5 commit 98edea0
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 98edea0

Please sign in to comment.