docs(qzone): delete header comment mentions subcode in the success contract

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.
This commit is contained in:
DrSmoothl committed 2026-06-20 01:54:19 +08:00
1 parent 4d75dc9ae3
commit e406a3bc2b
1 file changed
+3 -3
+3 -3
View File
@@ -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;