diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d064f71..03e514c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,7 +11,6 @@ on: jobs: cypress-test: runs-on: ubuntu-latest - needs: build steps: - name: Git checkout diff --git a/services/projectSurvey.ts b/services/projectSurvey.ts index 3e23685..51a13ea 100644 --- a/services/projectSurvey.ts +++ b/services/projectSurvey.ts @@ -3,7 +3,7 @@ import { auth } from "@/auth"; import db from "@/db/drizzle"; import { finalSurvey, finalSurveyAnswer, question } from "@/db/schema"; -import { eq, sql, or } from "drizzle-orm"; +import { eq, or } from "drizzle-orm"; import { ProjectAnswer } from "@/types/types"; export async function getProjectQuestions() { diff --git a/services/rag.ts b/services/rag.ts index 4e0c0b4..bf0914f 100644 --- a/services/rag.ts +++ b/services/rag.ts @@ -727,7 +727,7 @@ async function getQuestionsSkills( return questionsSkills; } -async function rulerAnalysis( +export async function rulerAnalysis( userId: string, userComment: string, emotionId: number,