api/xiaohongshu: remove duplicated extraction error

Co-authored-by: jj <log@riseup.net>
This commit is contained in:
wukko 2025-01-20 19:37:23 +06:00 committed by GitHub
parent 3cbed87c3e
commit 4963c9f128
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,9 +54,7 @@ export default async function ({ id, token, shareId, h265, isAudioOnly, dispatch
if (!currentNote) throw "no current note in detail map"; if (!currentNote) throw "no current note in detail map";
note = currentNote.note; note = currentNote.note;
} catch { } catch {}
return { error: "fetch.empty" };
}
if (!note) return { error: "fetch.empty" }; if (!note) return { error: "fetch.empty" };