From 57449c5843b414c765be9278208e1e50f422155a Mon Sep 17 00:00:00 2001 From: Justin Nesselrotte Date: Fri, 8 Dec 2023 02:24:17 -0700 Subject: [PATCH] Fixed variable substitution in open door modal --- app/External/Slack/Modals/OpenDoorModal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/External/Slack/Modals/OpenDoorModal.php b/app/External/Slack/Modals/OpenDoorModal.php index 9719a3cc..b66deb33 100644 --- a/app/External/Slack/Modals/OpenDoorModal.php +++ b/app/External/Slack/Modals/OpenDoorModal.php @@ -62,7 +62,7 @@ public static function handle(SlackRequest $request) ->first(); if (is_null($door)) { - throw new \Exception("The door for ${selectedOption['value']} was null"); + throw new \Exception("The door for {$selectedOption['value']} was null"); } /** @var SlackApi $slackApi */