From 64a35752c5920ac6bcdf25720d69fdf94b4ffe2d Mon Sep 17 00:00:00 2001 From: tigerenwork Date: Mon, 29 Jun 2026 21:03:27 +0800 Subject: [PATCH] fix: use rawValue for customer field to handle all Feishu field types --- Sources/Services/Feishu/FeishuModels.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Services/Feishu/FeishuModels.swift b/Sources/Services/Feishu/FeishuModels.swift index 793dede..8362fc6 100644 --- a/Sources/Services/Feishu/FeishuModels.swift +++ b/Sources/Services/Feishu/FeishuModels.swift @@ -120,7 +120,7 @@ enum BugMapper { status: mapStatus(stringValue(in: fields, key: mappings.statusField), mappings: mappings), assignee: userName(in: fields, key: mappings.assigneeField) ?? "Unknown", reporter: userName(in: fields, key: mappings.reporterField), - customer: stringValue(in: fields, key: mappings.customerField), + customer: rawValue(in: fields, key: mappings.customerField).map { "\($0)" }, createdAt: FeishuDateParser.parse(rawValue(in: fields, key: mappings.createdAtField)) ?? .distantPast, updatedAt: FeishuDateParser.parse(rawValue(in: fields, key: mappings.updatedAtField)) ?? .distantPast, feishuURL: FeishuURLBuilder.recordURL(