Browse Source

models: Fixed wrong database mapping for comment source.

module-madness-pointers
Gisle Aune 5 years ago
parent
commit
a8c8610ca2
  1. 2
      models/comment.go

2
models/comment.go

@ -13,5 +13,5 @@ type Comment struct {
FictionalDate time.Time `bson:"fictionalDate"`
CreatedDate time.Time `bson:"createdDate"`
EditedDate time.Time `bson:"editeddDate"`
Source string `bson:"sources"`
Source string `bson:"source"`
}
Loading…
Cancel
Save