mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(server): return early from license health check when quantity matches (#11111)
This commit is contained in:
@@ -238,7 +238,7 @@ export class LicenseService implements OnModuleInit {
|
||||
const res = await this.revalidateLicense(license);
|
||||
|
||||
if (res?.quantity === memberRequired) {
|
||||
break;
|
||||
return;
|
||||
}
|
||||
} catch (e) {
|
||||
this.logger.error('Failed to check license health', e);
|
||||
|
||||
Reference in New Issue
Block a user