mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-17 05:14:52 +00:00
set feeds model key to name
This commit is contained in:
@@ -38,6 +38,7 @@ func NewFeeds(postsService posts.PostsService) *Feeds {
|
|||||||
|
|
||||||
f := &Feeds{
|
f := &Feeds{
|
||||||
feeds: model.NewModel(
|
feeds: model.NewModel(
|
||||||
|
model.WithKey("Name"),
|
||||||
model.WithNamespace("feeds"),
|
model.WithNamespace("feeds"),
|
||||||
model.WithIndexes(nameIndex),
|
model.WithIndexes(nameIndex),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user