From bc54f45e2ce9d33073b06a50f0cfb52e1cef8517 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Thu, 10 Oct 2024 19:12:03 +0100 Subject: [PATCH] fix(api): nlp-sample schema remove unique from text field --- api/src/nlp/schemas/nlp-sample.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/nlp/schemas/nlp-sample.schema.ts b/api/src/nlp/schemas/nlp-sample.schema.ts index b5df7e01..ff8fd7c1 100644 --- a/api/src/nlp/schemas/nlp-sample.schema.ts +++ b/api/src/nlp/schemas/nlp-sample.schema.ts @@ -23,7 +23,7 @@ export class NlpSampleStub extends BaseSchema { /** * The content of the sample. */ - @Prop({ type: String, required: true, unique: true }) + @Prop({ type: String, required: true }) text: string; /**