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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy