enhancement(lint): Fix lint errors for src/modules/journey.ts

Co-authored-by: NeonGamerBot-QK <neon@saahild.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2025-04-19 04:28:26 +00:00 committed by GitHub
parent 9cc296db26
commit 757631b607
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,8 @@ export async function shipUpdatesCron(app: ModifiedApp) {
for (const update of updates) {
const entry = app.dbs.journey.get(update.project_id.toString());
if (!entry) continue;
if(entry.updates.find(e=>e.meta.created_at === update.created_at)) continue;
if (entry.updates.find((e) => e.meta.created_at === update.created_at))
continue;
let msg = null;
try {
msg = await app.client.chat.postMessage({