mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
fix: Use "data" scheme when creating parameters from the site (#3732)
Fixes #3691.
This commit is contained in:
@ -54,8 +54,8 @@ type Parameter struct {
|
||||
Scope ParameterScope `json:"scope" table:"scope"`
|
||||
ScopeID uuid.UUID `json:"scope_id" table:"scope id"`
|
||||
Name string `json:"name" table:"name"`
|
||||
SourceScheme ParameterSourceScheme `json:"source_scheme" table:"source scheme"`
|
||||
DestinationScheme ParameterDestinationScheme `json:"destination_scheme" table:"destination scheme"`
|
||||
SourceScheme ParameterSourceScheme `json:"source_scheme" table:"source scheme" validate:"ne=none"`
|
||||
DestinationScheme ParameterDestinationScheme `json:"destination_scheme" table:"destination scheme" validate:"ne=none"`
|
||||
CreatedAt time.Time `json:"created_at" table:"created at"`
|
||||
UpdatedAt time.Time `json:"updated_at" table:"updated at"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user