fix(route/huggingface): Add allowEmpty option to huggingface daily papers response (#20739)
Fixes https://github.com/DIYgod/RSSHub/issues/20738
This commit is contained in:
parent
4a9e7d3420
commit
3f42a429ee
|
|
@ -81,6 +81,7 @@ async function handler(ctx) {
|
|||
.toSorted((a, b) => b.upvotes - a.upvotes);
|
||||
|
||||
return {
|
||||
allowEmpty: true,
|
||||
title: 'Huggingface Daily Papers',
|
||||
link: 'https://huggingface.co/papers',
|
||||
item: items,
|
||||
|
|
|
|||
Loading…
Reference in New Issue