Skip to content

Commit 7a8b8f3

Browse files
committed
change category type to list of categories
1 parent e92a723 commit 7a8b8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/question-service/src/dto/CreateQuestion.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class CreateQuestionDto {
3939
message:
4040
'Category must be Algorithm, DynamicProgramming, Array, SQL, Heap, Recursion, Graph, Sorting',
4141
})
42-
categories: Category;
42+
categories: Category[];
4343

4444
@IsNotEmpty()
4545
@IsEnum(Difficulty, {

0 commit comments

Comments
 (0)