refactor: Remove redundant updateConnectionAllowedProperty

This commit is contained in:
Faruk AYDIN
2024-10-24 17:00:47 +02:00
parent f73ffc8711
commit d66be231b3
2 changed files with 0 additions and 33 deletions

View File

@@ -42,14 +42,6 @@ class AppConfig extends Base {
return await App.findOneByKey(this.key);
}
async updateConnectionAllowedProperty() {
const connectionAllowed = await this.computeConnectionAllowedProperty();
return await this.$query().patch({
connectionAllowed,
});
}
async computeAndAssignConnectionAllowedProperty() {
this.connectionAllowed = await this.computeConnectionAllowedProperty();
}