mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-22 06:21:41 +00:00
api/xiaohongshu: remove duplicated extraction error
Co-authored-by: jj <log@riseup.net>
This commit is contained in:
parent
3cbed87c3e
commit
4963c9f128
|
@ -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" };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue