Skip to content

Commit

Permalink
chore: add 2 return
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovler-Young committed Jun 24, 2024
1 parent 2c5b601 commit b4b808f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/server/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,12 @@ const handle_source = async (ctx: Context, source_type: string, source_id: strin
await ctx.reply(`All items have been processed.`, {
reply_markup,
});
return;
} else {
await ctx.reply(`Some items have not been processed yet after half an hour, they are: \n${remainingBvids.join(', ')}.`, {
reply_markup,
});
return;
}
};

Expand Down

0 comments on commit b4b808f

Please sign in to comment.