change: rss_item key

This commit is contained in:
EstrellaXD
2023-08-13 15:02:57 +08:00
parent 95ff5d50c9
commit cf3df1da75
7 changed files with 12 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ async def add_rss(rss: RSSItem, current_user=Depends(get_current_user)):
if not current_user:
raise UNAUTHORIZED
with RSSEngine() as engine:
result = engine.add_rss(rss.url, rss.item_path, rss.combine)
result = engine.add_rss(rss.url, rss.name, rss.aggregate)
return u_response(result)