diff options
Diffstat (limited to 'internal/db/bundb/tombstone.go')
-rw-r--r-- | internal/db/bundb/tombstone.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/db/bundb/tombstone.go b/internal/db/bundb/tombstone.go index 35032f43a..7ce3327a7 100644 --- a/internal/db/bundb/tombstone.go +++ b/internal/db/bundb/tombstone.go @@ -36,9 +36,9 @@ type tombstoneDB struct { func (t *tombstoneDB) init() { // Initialize tombstone result cache - t.cache = result.NewSized([]string{ - "ID", - "URI", + t.cache = result.NewSized([]result.Lookup{ + {Name: "ID"}, + {Name: "URI"}, }, func(t1 *gtsmodel.Tombstone) *gtsmodel.Tombstone { t2 := new(gtsmodel.Tombstone) *t2 = *t1 |