We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c8ba2 commit 68105c5Copy full SHA for 68105c5
models/assays.mjs
@@ -3,7 +3,7 @@ import db from "./db.mjs";
3
4
export const list = () => {
5
return db.findAll("SELECT id, name FROM assays ORDER BY id")
6
- .then(rows => rows.map((r) => r.name).filter((a) => AVAILABLE_ASSAYS_SET.includes(a)));
+ .then(rows => rows.map((r) => r.name).filter((a) => AVAILABLE_ASSAYS_SET.has(a)));
7
};
8
9
export default {
0 commit comments