From 719a419cb9e910d082a4897ea6677ecc562fd172 Mon Sep 17 00:00:00 2001 From: Ryonez Coruscare Date: Thu, 5 Sep 2019 13:55:32 +1200 Subject: [PATCH] Attempt to add files to webhook --- Notification/Discord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notification/Discord.php b/Notification/Discord.php index 6b3763f..18059c0 100644 --- a/Notification/Discord.php +++ b/Notification/Discord.php @@ -170,7 +170,7 @@ class Discord extends Base implements NotificationInterface return array( 'text' => $message, - 'attachment' => $attachment, + 'file' => $attachment, 'username' => 'Kanboard', 'icon_url' => 'https://raw.githubusercontent.com/kanboard/kanboard/master/assets/img/favicon.png', );