From 69aa06effbcf05375fe89f34095536b407e5d952 Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 11 Nov 2025 17:33:22 +0800 Subject: [PATCH] * [misc] modified API response handling to return content_id instead of id. --- module/zai/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zai/model.php b/module/zai/model.php index 0e660864ff..f8c66ef09e 100644 --- a/module/zai/model.php +++ b/module/zai/model.php @@ -456,7 +456,7 @@ class zaiModel extends model if($result['result'] === 'success') { - if(!empty($result['data']['id'])) return $result['data']['id']; + if(!empty($result['data']['content_id'])) return $result['data']['content_id']; $contentsResult = $this->callAdminAPI("/v8/memories/$memoryID/contents", 'GET'); if($contentsResult['result'] !== 'success') return null;