Skip to content

Commit

Permalink
Fixed variable substitution in open door modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jnesselr committed Dec 8, 2023
1 parent e3c1646 commit 57449c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/External/Slack/Modals/OpenDoorModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 57449c5

Please sign in to comment.