chore: Introduce app info converter and use JSON for info files

This commit is contained in:
Faruk AYDIN
2021-10-20 13:56:41 +02:00
committed by Ali BARIN
parent 2293c939e7
commit a7582a4503
9 changed files with 33 additions and 42 deletions

View File

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