fix: Don't compute connectionAllowed column twice
This commit is contained in:
@@ -63,7 +63,8 @@ class AppAuthClient extends Base {
|
||||
async triggerAppConfigUpdate() {
|
||||
const appConfig = await this.$relatedQuery('appConfig');
|
||||
|
||||
await appConfig?.updateConnectionAllowedProperty();
|
||||
// This is a workaround to update connection allowed column for AppConfig
|
||||
await appConfig?.$query().patch({});
|
||||
}
|
||||
|
||||
// TODO: Make another abstraction like beforeSave instead of using
|
||||
|
Reference in New Issue
Block a user