mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
fix(server): allow to checkout selfhost team in canary (#10130)
This commit is contained in:
@@ -134,7 +134,8 @@ export class SubscriptionService implements OnApplicationBootstrap {
|
||||
if (
|
||||
this.config.deploy &&
|
||||
this.config.affine.canary &&
|
||||
(!('user' in args) || !this.feature.isStaff(args.user.email))
|
||||
args.user &&
|
||||
!this.feature.isStaff(args.user.email)
|
||||
) {
|
||||
throw new ActionForbidden();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user