wordExistsInADictionary added
This commit is contained in:
parent
29ad2ecdb0
commit
0f0e8a9b5d
|
@ -78,6 +78,9 @@ export const valueExistsInColumn = async (table, column, value) => {
|
|||
|
||||
}
|
||||
|
||||
export const wordExistsInDictionary = async (word) => {
|
||||
return valueExistsInColumn('dictionary','word',word)
|
||||
}
|
||||
|
||||
export const todaysPromptAlreadyPublished = async () => {
|
||||
return valueExistsInColumn('published', 'date', isoDate())
|
||||
|
|
Loading…
Reference in New Issue