diff --git a/src/backend/src/om/entitystorage/SubdomainES.js b/src/backend/src/om/entitystorage/SubdomainES.js index 2932db5a..27a543e0 100644 --- a/src/backend/src/om/entitystorage/SubdomainES.js +++ b/src/backend/src/om/entitystorage/SubdomainES.js @@ -39,7 +39,9 @@ class SubdomainES extends BaseES { } }, async upsert (entity, extra) { - await this._check_max_subdomains(); + if ( ! extra.old_entity ) { + await this._check_max_subdomains(); + } return await this.upstream.upsert(entity, extra); },