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

@@ -14,7 +14,7 @@ const getAppResolver = async (params: Params, req: RequestWithCurrentUser) => {
throw new Error('No key provided.')
}
const app = await App.findOneByKey(params.key);
const app = App.findOneByKey(params.key);
if (req.currentUser?.id) {
const connections = await Connection.query()