File tree 2 files changed +3
-3
lines changed
site/src/pages/CreateWorkspacePage
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ type Parameter struct {
54
54
Scope ParameterScope `json:"scope" table:"scope"`
55
55
ScopeID uuid.UUID `json:"scope_id" table:"scope id"`
56
56
Name string `json:"name" table:"name"`
57
- SourceScheme ParameterSourceScheme `json:"source_scheme" table:"source scheme"`
58
- DestinationScheme ParameterDestinationScheme `json:"destination_scheme" table:"destination scheme"`
57
+ SourceScheme ParameterSourceScheme `json:"source_scheme" table:"source scheme" validate:"ne=none" `
58
+ DestinationScheme ParameterDestinationScheme `json:"destination_scheme" table:"destination scheme" validate:"ne=none" `
59
59
CreatedAt time.Time `json:"created_at" table:"created at"`
60
60
UpdatedAt time.Time `json:"updated_at" table:"updated at"`
61
61
}
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const CreateWorkspacePageView: FC<React.PropsWithChildren<CreateWorkspace
72
72
createRequests . push ( {
73
73
name : schema . name ,
74
74
destination_scheme : schema . default_destination_scheme ,
75
- source_scheme : schema . default_source_scheme ,
75
+ source_scheme : "data" ,
76
76
source_value : value ,
77
77
} )
78
78
} )
You can’t perform that action at this time.
0 commit comments