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

@@ -9,7 +9,7 @@ type Params = {
}
const getAppConnectionsResolver = async (params: Params, req: RequestWithCurrentUser) => {
const app = await App.findOneByKey(params.key);
const app = App.findOneByKey(params.key);
const connections = await Connection.query()
.where({ user_id: req.currentUser.id, key: params.key })