mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 05:07:41 +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";
|
||||
|
||||
note = currentNote.note;
|
||||
} catch {
|
||||
return { error: "fetch.empty" };
|
||||
}
|
||||
} catch {}
|
||||
|
||||
if (!note) return { error: "fetch.empty" };
|
||||
|
||||
|
Reference in New Issue
Block a user