getNewPrompt now filters published
This commit is contained in:
parent
97a00cc1db
commit
02436414de
|
@ -2,7 +2,8 @@ import { db } from "./db.mjs"
|
||||||
|
|
||||||
const blocklist = db.union([
|
const blocklist = db.union([
|
||||||
db('bad_words').select('word'),
|
db('bad_words').select('word'),
|
||||||
db('medical_dictionary').select('word')
|
db('medical_dictionary').select('word'),
|
||||||
|
db('published').select('word')
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue