Skip to content

Commit 95c58ba

Browse files
committed
update params
Signed-off-by: Grant Linville <[email protected]>
1 parent 0d8d5d5 commit 95c58ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkg/sdkserver/datasets.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ func (s *server) listDatasets(w http.ResponseWriter, r *http.Request) {
8080
}
8181

8282
type addDatasetElementsArgs struct {
83-
DatasetID string `json:"datasetID"`
84-
Elements []struct {
83+
DatasetID string `json:"datasetID"`
84+
Name string `json:"name"`
85+
Description string `json:"description"`
86+
Elements []struct {
8587
Name string `json:"name"`
8688
Description string `json:"description"`
8789
Contents string `json:"contents"`

0 commit comments

Comments
 (0)