We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59edf9f commit aabcbb8Copy full SHA for aabcbb8
README.md
@@ -102,9 +102,9 @@ const (
102
tamber.DefaultProjectKey = "Mu6DUPXdDYe98cv5JIfX"
103
104
items := Database.LoadItems()
105
-itemUpdates := make([]*tamber.ItemParams, len(items))
+itemUpdates := make([]*tamber.ItemUpdateParams, len(items))
106
for i, item := range items {
107
- itemUpdates[i] = &tamber.ItemParams{Id: item.Id, Updates: &tamber.ItemUpdates{Add: tamber.ItemFeatures{Properties: item.Properties}}}
+ itemUpdates[i] = &tamber.ItemUpdateParams{Id: item.Id, Updates: tamber.ItemUpdates{Add: tamber.ItemFeatures{Properties: item.Properties}}}
108
}
109
110
// You may optionally supply a channel to read updated items.
0 commit comments