mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 21:05:30 +00:00
remove extra method
This commit is contained in:
parent
d1bb71a63a
commit
b676060798
2 changed files with 1 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ async fn main() {
|
|||
let items = result.content.items;
|
||||
debug!("received {:?} items to handle...", items.len());
|
||||
for item in items {
|
||||
if database.is_processed(&item.id).is_ok_and(|r| r) {
|
||||
if database.get(&item.id).is_ok_and(|r| r.is_some()) {
|
||||
debug!(
|
||||
"item `{}` for channel `{c}` already processed; skip handle.",
|
||||
item.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue