fix: Pass app key while triggering app config update

This commit is contained in:
Faruk AYDIN
2024-10-17 16:32:32 +02:00
parent 2583e08f7a
commit 55d0966d48

View File

@@ -64,7 +64,9 @@ class AppAuthClient extends Base {
const appConfig = await this.$relatedQuery('appConfig'); const appConfig = await this.$relatedQuery('appConfig');
// This is a workaround to update connection allowed column for AppConfig // This is a workaround to update connection allowed column for AppConfig
await appConfig?.$query().patch({}); await appConfig?.$query().patch({
key: appConfig.key,
});
} }
// TODO: Make another abstraction like beforeSave instead of using // TODO: Make another abstraction like beforeSave instead of using