Skip to content

Commit

Permalink
support content packages (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgi-denchew committed May 5, 2020
1 parent 290c236 commit 5015804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/message/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (h *Handler) readContentType(msg consumer.Message, event schema.EnrichedCon

func isAllowedType(s string) bool {
// Empty type added for older content. Placeholders - which are subject of exclusion - have type Content.
var allowedTypes = [...]string{"Article", "Video", "MediaResource", "Audio", ""}
var allowedTypes = [...]string{"Article", "Video", "MediaResource", "Audio", "ContentPackage", ""}
for _, value := range allowedTypes {
if value == s {
return true
Expand Down

0 comments on commit 5015804

Please sign in to comment.