diff --git a/stocks-update-notification-bot/bot/src/timerTrigger.ts b/stocks-update-notification-bot/bot/src/timerTrigger.ts index 452a81c4..5e95988c 100644 --- a/stocks-update-notification-bot/bot/src/timerTrigger.ts +++ b/stocks-update-notification-bot/bot/src/timerTrigger.ts @@ -78,7 +78,7 @@ const sendCard = (target: TeamsBotInstallation) => (ac: typeof AdaptiveCards) => (template: object) => - (quote: GlobalQuote): Promise => + (quote: GlobalQuote): Promise => target.sendAdaptiveCard(ac.declare(template).render(quote as T)); const handleError =