Просмотр исходного кода

Update enum reference for shareScope to use AiAssistantShareScope

Shun Miyazawa 1 год назад
Родитель
Сommit
752768ad5d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/features/openai/server/models/ai-assistant.ts

+ 1 - 1
apps/app/src/features/openai/server/models/ai-assistant.ts

@@ -119,7 +119,7 @@ const schema = new Schema<AiAssistantDocument>(
     },
     shareScope: {
       type: String,
-      enum: Object.values(AiAssistantOwnerAccessScope),
+      enum: Object.values(AiAssistantShareScope),
       required: true,
     },
     ownerAccessScope: {