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 13:15:24 +00:00 committed by GitHub
parent f5d06736e1
commit a6dd80c0c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,14 +139,14 @@ export async function shipUpdatesCron(app: ModifiedApp) {
channel: `C08N1NWKEF4`,
thread_ts: entry.root_message,
reply_broadcast: true,
text: update.text.slice(0,3000) || "no update text huh",
text: update.text.slice(0, 3000) || "no update text huh",
blocks: [
{
type: "section",
text: {
type: "mrkdwn",
// TODO add the ping back
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0,2900)}`,
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0, 2900)}`,
},
},
// add image
@ -163,14 +163,14 @@ export async function shipUpdatesCron(app: ModifiedApp) {
channel: `C08N1NWKEF4`,
thread_ts: entry.root_message,
reply_broadcast: true,
text: update.text.slice(0,3000) || "no update text huh",
text: update.text.slice(0, 3000) || "no update text huh",
blocks: [
{
type: "section",
text: {
type: "mrkdwn",
// TODO add the ping back
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0,2900)}`,
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0, 2900)}`,
},
},
].filter(Boolean),