Skip to content

Commit

Permalink
quick hotfix for youtube videos
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Aug 17, 2020
1 parent d818ea9 commit 89bf2af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ struct HTMLController {
}
return entries
}
.flatMapEachThrowing {
try EntryItem(entry: $0)
.mapEachCompact {
try? EntryItem(entry: $0)
}
.map { (items) -> HTML in
HTML(
Expand Down Expand Up @@ -108,8 +108,8 @@ struct HTMLController {
.filter(Channel.self, \Channel.$id == channel)
.limit(32)
.all()
.flatMapEachThrowing {
try EntryItem(entry: $0)
.mapEachCompact {
try? EntryItem(entry: $0)
}
.map { (items) -> HTML in
HTML(
Expand Down Expand Up @@ -141,8 +141,8 @@ struct HTMLController {
.filter(Channel.self, \Channel.$language.$id == "en")
.limit(32)
.all()
.flatMapEachThrowing {
try EntryItem(entry: $0)
.mapEachCompact {
try? EntryItem(entry: $0)
}
.map { (items) -> HTML in
HTML(
Expand Down
Empty file added orchardnest.sql
Empty file.

0 comments on commit 89bf2af

Please sign in to comment.