fix: Pass app config key to fix associations
This commit is contained in:
@@ -8,7 +8,10 @@ export default async (request, response) => {
|
||||
})
|
||||
.throwIfNotFound();
|
||||
|
||||
await appConfig.$query().patchAndFetch(appConfigParams(request));
|
||||
await appConfig.$query().patchAndFetch({
|
||||
...appConfigParams(request),
|
||||
key: request.params.appKey,
|
||||
});
|
||||
|
||||
renderObject(response, appConfig);
|
||||
};
|
||||
|
Reference in New Issue
Block a user