Commit e4033f8
committed
fix(datasets): add missing type discriminator to dataset source payloads
The DatasetSource schema is a tagged union requiring a 'type' field.
Without it the API rejects both create-from-query and
create-from-saved-query with a deserialization error.1 parent 3efa783 commit e4033f8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments