MakeMeASandwich: Each item in the array should be either a string or an object, it can't be an object containing text: string

master
Rob 2016-05-24 20:22:03 +01:00
parent b8fda89aac
commit a3550be4c9
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ handle remainder => sub {
data => {
title => $result,
subtitle => [
{ text => $input },
$input,
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149" }
]
},

View File

@ -20,7 +20,7 @@ sub build_test
data => {
title => $text,
subtitle => [
{ text => $input },
$input,
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149"}
]
},