Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): wrong import path (#11225)

JimmFly55ac09b1b6e4
diff --git a/packages/common/graphql/src/graphql/admin/admin-server-config.gql b/packages/common/graphql/src/graphql/admin/admin-server-config.gql
index cde62f1ed1..6873c7bfad 100644
--- a/packages/common/graphql/src/graphql/admin/admin-server-config.gql
+++ b/packages/common/graphql/src/graphql/admin/admin-server-config.gql
@@ -1,5 +1,5 @@
-#import './fragments/password-limits.gql'
-#import './fragments/credentials-requirement.gql'
+#import '../fragments/password-limits.gql'
+#import '../fragments/credentials-requirement.gql'
query adminServerConfig {
serverConfig {
diff --git a/packages/common/graphql/src/graphql/index.ts b/packages/common/graphql/src/graphql/index.ts
index 2d60833432..528da8599c 100644
--- a/packages/common/graphql/src/graphql/index.ts
+++ b/packages/common/graphql/src/graphql/index.ts
@@ -48,7 +48,9 @@ export const adminServerConfigQuery = {
}
availableUserFeatures
}
-}`,
+}
+${passwordLimitsFragment}
+${credentialsRequirementsFragment}`,
};
export const createChangePasswordUrlMutation = {