aboutsummaryrefslogtreecommitdiffstats
path: root/tw_hooks/on-add_scheduled_work_task.pl
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-11-25 09:37:25 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-11-25 09:37:25 +0000
commitd1b4f36670725a09a633b887f586730d5f167db1 (patch)
tree4c64d074d2cac189d1418125962e77e6e760cf14 /tw_hooks/on-add_scheduled_work_task.pl
parent4a8ec593767ee5dc6453029d8473fdfc47f5c083 (diff)
fixed the resulting task not being stripped of tokens
Diffstat (limited to 'tw_hooks/on-add_scheduled_work_task.pl')
-rwxr-xr-xtw_hooks/on-add_scheduled_work_task.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tw_hooks/on-add_scheduled_work_task.pl b/tw_hooks/on-add_scheduled_work_task.pl
index 7defea8..4db2812 100755
--- a/tw_hooks/on-add_scheduled_work_task.pl
+++ b/tw_hooks/on-add_scheduled_work_task.pl
@@ -91,6 +91,7 @@ Contents of $work_rem_file on $host is now:\n/,
# TODO - we need to strip away the %:MIN syntax from the original
# description - need to substitute it here!
+ $decoded_task->{description} = $original_description;
print encode_json $decoded_task;
exit 0;
} else {