mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 05:37:44 +02:00
api/xiaohongshu: remove duplicated extraction error
Co-authored-by: jj <log@riseup.net>
This commit is contained in:
@ -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" };
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user