Skip to content

Commit f836392

Browse files
pieternnfx
authored andcommitted
Always pass description field in query
If it isn't set, it's not possible to erase an existing description.
1 parent a294367 commit f836392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlanalytics/api/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Query struct {
99
ID string `json:"id,omitempty"`
1010
DataSourceID string `json:"data_source_id"`
1111
Name string `json:"name"`
12-
Description string `json:"description,omitempty"`
12+
Description string `json:"description"`
1313
Query string `json:"query"`
1414
Schedule *QuerySchedule `json:"schedule,omitempty"`
1515
Options *QueryOptions `json:"options,omitempty"`

0 commit comments

Comments
 (0)