mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 16:28:19 +00:00
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:
parent
9cc296db26
commit
757631b607
1 changed files with 2 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue