diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-05-21 03:05:23 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-05-21 03:05:23 +0200 |
| commit | a12d2288246709c6b97bbd7d04dafe6a9177f419 (patch) | |
| tree | fd2a9770bf1a06d5b6fa9328eef5c9ff16c74385 /lib | |
| parent | d91a5283e2c9246760c110332e59513de62cfa07 (diff) | |
feedback api
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/awfeedback/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/awfeedback/index.js b/lib/awfeedback/index.js index 187661b..87492db 100644 --- a/lib/awfeedback/index.js +++ b/lib/awfeedback/index.js @@ -42,7 +42,7 @@ function AWFeedback (options) { if (!(this instanceof AWFeedback)) return new AW if (rows.length == 0) { res.json([]) } else { - var parsed = rows.filter( row => row[4] === 'x' || row[4] === 'X' ) + var parsed = rows.filter( row => row[4] === 'x' && row[5] === 'x' ) .map( row => [ row[0], row[1], row[3] ] ) res.json(parsed) } |
