feat: Add draft column to connections

This commit is contained in:
Faruk AYDIN
2022-07-27 13:54:10 +03:00
parent 095948e737
commit 70d59c6c64
4 changed files with 17 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const getApp = async (_parent: unknown, params: Params, context: Context) => {
.$relatedQuery('connections')
.where({
key: params.key,
draft: false,
})
.orderBy('created_at', 'desc');