This commit is contained in:
parent
34133191fc
commit
3483b481e3
|
|
@ -88,6 +88,9 @@ func itemPtr(item *microsub.Item, key string) *[]string {
|
||||||
func simplifyToItem(itemType string, item map[string][]interface{}) microsub.Item {
|
func simplifyToItem(itemType string, item map[string][]interface{}) microsub.Item {
|
||||||
var feedItem microsub.Item
|
var feedItem microsub.Item
|
||||||
|
|
||||||
|
if itemType == "cite" {
|
||||||
|
itemType = "entry"
|
||||||
|
}
|
||||||
feedItem.Type = itemType
|
feedItem.Type = itemType
|
||||||
feedItem.Refs = make(map[string]microsub.Item)
|
feedItem.Refs = make(map[string]microsub.Item)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user