mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat(server): make permission a standalone module (#7880)
This commit is contained in:
@@ -21,6 +21,6 @@ import { OAuthService } from './service';
|
||||
],
|
||||
controllers: [OAuthController],
|
||||
contributesTo: ServerFeature.OAuth,
|
||||
if: config => !!config.plugins.oauth,
|
||||
if: config => config.flavor.graphql && !!config.plugins.oauth,
|
||||
})
|
||||
export class OAuthModule {}
|
||||
|
||||
Reference in New Issue
Block a user