Skip to content

Commit db938de

Browse files
committed
allow undefined as owner input
1 parent 89b3213 commit db938de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codersdk/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type DynamicParametersRequest struct {
115115
ID int `json:"id"`
116116
Inputs map[string]string `json:"inputs"`
117117
// OwnerID if uuid.Nil, it defaults to `codersdk.Me`
118-
OwnerID uuid.UUID `json:"owner_id" format:"uuid"`
118+
OwnerID uuid.UUID `json:"owner_id,omitempty" format:"uuid"`
119119
}
120120

121121
type DynamicParametersResponse struct {

site/src/api/typesGenerated.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)