MakeMeASandwich: Each item in the array should be either a string or an object, it can't be an object containing text: string
parent
b8fda89aac
commit
a3550be4c9
|
@ -27,7 +27,7 @@ handle remainder => sub {
|
||||||
data => {
|
data => {
|
||||||
title => $result,
|
title => $result,
|
||||||
subtitle => [
|
subtitle => [
|
||||||
{ text => $input },
|
$input,
|
||||||
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149" }
|
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,7 +20,7 @@ sub build_test
|
||||||
data => {
|
data => {
|
||||||
title => $text,
|
title => $text,
|
||||||
subtitle => [
|
subtitle => [
|
||||||
{ text => $input },
|
$input,
|
||||||
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149"}
|
{ text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue