fix local dev missing snl row
This commit is contained in:
parent
c90eb055c7
commit
061d3f220d
|
@ -1,8 +1,8 @@
|
|||
export default {
|
||||
Query: {
|
||||
snl: async (parent, _, { models }) => {
|
||||
const { live } = await models.snl.findFirst()
|
||||
return live
|
||||
const snl = await models.snl.findFirst()
|
||||
return !!snl?.live
|
||||
}
|
||||
},
|
||||
Mutation: {
|
||||
|
|
Loading…
Reference in New Issue