Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update log.ts

Steven Tey7b7d0ca0a5c4
diff --git a/packages/utils/src/functions/log.ts b/packages/utils/src/functions/log.ts
index 32f720dc3f..64967726cd 100644
--- a/packages/utils/src/functions/log.ts
+++ b/packages/utils/src/functions/log.ts
@@ -39,7 +39,7 @@ export const log = async ({
text: {
type: "mrkdwn",
// prettier-ignore
- text: `${mention && "<@U0404G6J3NJ> "}${(type === "alerts" || type === "errors") && ":alert: "}${message}`,
+ text: `${mention ? "<@U0404G6J3NJ> " : ""}${(type === "alerts" || type === "errors") ? ":alert: " : ""}${message}`,
},
},
],