From d77a7fe50d6dd812e123768fbb8692c1e4e1534d Mon Sep 17 00:00:00 2001 From: wangdl Date: Thu, 28 May 2026 10:45:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(ios):=20CreateKnowledgeBaseRequest=20coverK?= =?UTF-8?q?ey=20=E8=AE=BE=E9=BB=98=E8=AE=A4=E5=80=BC=20nil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- AIStudyApp/AIStudyApp/Core/Models/APIModels.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AIStudyApp/AIStudyApp/Core/Models/APIModels.swift b/AIStudyApp/AIStudyApp/Core/Models/APIModels.swift index 2977484..8b2232c 100644 --- a/AIStudyApp/AIStudyApp/Core/Models/APIModels.swift +++ b/AIStudyApp/AIStudyApp/Core/Models/APIModels.swift @@ -174,7 +174,7 @@ struct KnowledgeBase: Codable, Identifiable { struct CreateKnowledgeBaseRequest: Codable { let title: String let description: String? - let coverKey: String? + var coverKey: String? = nil } struct KnowledgeBaseCoverUploadResult {