Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Fix Cassandra equality check
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed Jul 3, 2017
1 parent 7cb46a2 commit e1efad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolvers-cassandra/Messages/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ function appendDefaultFilters(args, query, params) {
}

if (args.langCode) {
query += ' AND eventlangcode == ?';
query += ' AND eventlangcode = ?';
params.push(args.langCode);
}

if (args.originalSource) {
query += ' AND sourceid == ?';
query += ' AND sourceid = ?';
params.push(args.originalSource);
}

Expand Down

0 comments on commit e1efad4

Please sign in to comment.