From 6ba003c036ee84b5aecdb7ddaed2b49f06d60195 Mon Sep 17 00:00:00 2001 From: "build@lguplus.co.kr" Date: Fri, 8 Dec 2023 16:32:54 +0900 Subject: [PATCH] bug fix --- lib/oto/commands/util/slack.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/oto/commands/util/slack.dart b/lib/oto/commands/util/slack.dart index 1d875d9..350679d 100644 --- a/lib/oto/commands/util/slack.dart +++ b/lib/oto/commands/util/slack.dart @@ -16,7 +16,11 @@ class Slack extends Command { var sender = SlackSender(data.token); DataSlack? message = null; if(data.property != null) { - message = replaceSingleTag(data.property!) as DataSlack; + var value = replaceSingleTag(data.property!); + if(value != null) + { + message = value as DataSlack; + } } else if(data.message != null) { message = data.message; }