fix: Pass app config key to fix associations

This commit is contained in:
Faruk AYDIN
2024-10-17 16:21:42 +02:00
parent 91993dbb07
commit de72e62470

View File

@@ -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);
};