Skip to content

Commit

Permalink
ESLint issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardodeValle committed Jun 5, 2024
1 parent ef769cd commit 19f71b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const rulerSurveyAnswers = pgTable(
export const questionTypeEnum = pgEnum("type_question", [
"SPRINT_QUESTION",
"COWORKER_QUESTION",
// "COWORKER_COMMENT",
"COWORKER_COMMENT",
"FINAL_PROJECT_QUESTION",
"FINAL_PROJECT_COMMENT",
]);
Expand Down
6 changes: 5 additions & 1 deletion services/rag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,11 @@ async function getQuestionsSkills(
type: string,
): Promise<QuestionSkills> {
const questionsSkills: QuestionSkills = {};
let questions: any[] = [];
type Question = {
questionId: number | null;
};

let questions: Question[] = [];

if (type === "COWORKER_QUESTION") {
questions = await db
Expand Down

0 comments on commit 19f71b2

Please sign in to comment.