This commit is contained in:
EGOIST
2022-05-20 13:21:19 +08:00
parent 7af42334e5
commit 497920fd0b
+1 -1
View File
@@ -40,7 +40,7 @@ export const checkSubdomain = async ({
}
export const getUserLastActiveSite = async (userId: string) => {
const memberships = await prismaPrimary.membership.findMany({
const memberships = await prismaRead.membership.findMany({
where: {
userId,
role: {