Skip to content

Commit

Permalink
Fixing included tag queries
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Jul 28, 2019
1 parent 4a786f8 commit 917d333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DeliveryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const ExecuteQuery = async (user: User, query: Query) => {
if (query.includedTags !== undefined && query.includedTags.length > 0) {
if (article.tags) {
for(let tag in article.tags) {
if (tag in query.includedTags) {
if (query.includedTags.indexOf(tag) > -1) {
included = true;
break;
}
Expand Down

0 comments on commit 917d333

Please sign in to comment.