Skip to content

Commit 3f42a42

Browse files
authored
fix(route/huggingface): Add allowEmpty option to huggingface daily papers response (#20739)
Fixes #20738
1 parent 4a9e7d3 commit 3f42a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/routes/huggingface/daily-papers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ async function handler(ctx) {
8181
.toSorted((a, b) => b.upvotes - a.upvotes);
8282

8383
return {
84+
allowEmpty: true,
8485
title: 'Huggingface Daily Papers',
8586
link: 'https://huggingface.co/papers',
8687
item: items,

0 commit comments

Comments
 (0)