chore: Use get app helper to get application data
This commit is contained in:
@@ -13,7 +13,7 @@ const createConnection = async (
|
||||
params: Params,
|
||||
context: Context
|
||||
) => {
|
||||
App.findOneByKey(params.input.key);
|
||||
await App.findOneByKey(params.input.key);
|
||||
|
||||
return await context.currentUser.$relatedQuery('connections').insert({
|
||||
key: params.input.key,
|
||||
|
Reference in New Issue
Block a user