feat: Create flow model and graphQL mutation

This commit is contained in:
Faruk AYDIN
2021-11-22 16:34:13 +01:00
committed by Ömer Faruk Aydın
parent b42cb759a5
commit 8a7d54bb25
12 changed files with 159 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ type Params = {
}
const createConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
const app = App.findOneByKey(params.key);
const connection = await Connection.query().insert({
key: params.key,
data: params.data,