From e406a3bc2b1626e3296a2a6bc360b73c8f07b182 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Sat, 20 Jun 2026 01:54:19 +0800 Subject: [PATCH] docs(qzone): delete header comment mentions subcode in the success contract MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trivial accuracy nit from re-review (verdict SHIP) — header said throw-on-non-zero-code but the helper also throws on a non-zero subcode. --- packages/protocol/src/web/qzone.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/protocol/src/web/qzone.ts b/packages/protocol/src/web/qzone.ts index 74d6de0c..5bc9a3de 100644 --- a/packages/protocol/src/web/qzone.ts +++ b/packages/protocol/src/web/qzone.ts @@ -397,9 +397,9 @@ export async function publishQzoneMsg( // ─────────────── 删说说 (delete emotion) — emotion_cgi_delete_v6 ─────────────── // Deletes one of the bot's OWN 说说 by tid. Same form-POST mechanics as -// publish. No positive payload on success beyond `code: 0`, so the contract -// is throw-on-non-zero-code; a clean parse with code 0 (or absent) is a -// success. WRITE OP. +// publish. No positive payload on success, so the contract is throw on a +// non-zero `code` OR `subcode`; a clean parse with both zero (or absent) is +// a success. WRITE OP. interface RawDeleteResponse { code?: number;