Skip to content

Commit 68105c5

Browse files
committed
fix: bug in returning assays from endpoint
1 parent 96c8ba2 commit 68105c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/assays.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import db from "./db.mjs";
33

44
export const list = () => {
55
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)));
6+
.then(rows => rows.map((r) => r.name).filter((a) => AVAILABLE_ASSAYS_SET.has(a)));
77
};
88

99
export default {

0 commit comments

Comments
 (0)