Use "cite" as "entry"
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2018-12-18 19:45:33 +01:00
parent 34133191fc
commit 3483b481e3
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -88,6 +88,9 @@ func itemPtr(item *microsub.Item, key string) *[]string {
func simplifyToItem(itemType string, item map[string][]interface{}) microsub.Item {
var feedItem microsub.Item
if itemType == "cite" {
itemType = "entry"
}
feedItem.Type = itemType
feedItem.Refs = make(map[string]microsub.Item)