aboutsummaryrefslogtreecommitdiff
path: root/object.go
diff options
context:
space:
mode:
authorMarius Orcsik2019-12-05 19:16:48 +0100
committerMarius Orcsik2019-12-05 19:16:48 +0100
commit67aa065f9f6f627264f0f3e080239156460f11a8 (patch)
tree7fa3d792fe99e141947022e6e01a780e17486e31 /object.go
parentb89c9ee68cdb04f3b5a5dc319c10899670e816b6 (diff)
Some other places where we removed Object from names of things
Diffstat (limited to 'object.go')
-rw-r--r--object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.go b/object.go
index 9e86575..7d1478b 100644
--- a/object.go
+++ b/object.go
@@ -250,7 +250,7 @@ func (o *Object) UnmarshalJSON(data []byte) error {
if ItemTyperFunc == nil {
ItemTyperFunc = JSONGetItemByType
}
- o.ID = JSONGetObjectID(data)
+ o.ID = JSONGetID(data)
o.Type = JSONGetType(data)
o.Name = JSONGetNaturalLanguageField(data, "name")
o.Content = JSONGetNaturalLanguageField(data, "content")