We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92a723 commit 7a8b8f3Copy full SHA for 7a8b8f3
backend/question-service/src/dto/CreateQuestion.dto.ts
@@ -39,7 +39,7 @@ export class CreateQuestionDto {
39
message:
40
'Category must be Algorithm, DynamicProgramming, Array, SQL, Heap, Recursion, Graph, Sorting',
41
})
42
- categories: Category;
+ categories: Category[];
43
44
@IsNotEmpty()
45
@IsEnum(Difficulty, {
0 commit comments