From 4574b6b7d54b754b3f1540330aa3fd676f039fd6 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 23 Dec 2024 19:54:02 +0800 Subject: [PATCH] chore: daily development --- .../canyon-backend/src/project/services/get-projects.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/canyon-backend/src/project/services/get-projects.service.ts b/packages/canyon-backend/src/project/services/get-projects.service.ts index 808ffdba..8f02f0b4 100644 --- a/packages/canyon-backend/src/project/services/get-projects.service.ts +++ b/packages/canyon-backend/src/project/services/get-projects.service.ts @@ -21,7 +21,7 @@ export class GetProjectsService { const favorProjects = await this.prisma.user .findUnique({ where: { - id: userID, + id: String(userID), }, }) .then((r) => r.favor.split(",").filter((item) => item !== ""));