set feeds model key to name

This commit is contained in:
Asim Aslam
2021-01-27 15:07:11 +00:00
parent 87348d1908
commit 062bc6fc9c

View File

@@ -38,6 +38,7 @@ func NewFeeds(postsService posts.PostsService) *Feeds {
f := &Feeds{
feeds: model.NewModel(
model.WithKey("Name"),
model.WithNamespace("feeds"),
model.WithIndexes(nameIndex),
),