From 5d99a64f722d0cf36b6b5ed4f2b3bcb9fbdf62f6 Mon Sep 17 00:00:00 2001 From: Ben Moon Date: Thu, 24 Mar 2016 15:12:54 +0000 Subject: [PATCH] Remove 'name' and 'id' from structured answer --- lib/DDG/Goodie/Anagram.pm | 2 -- t/Anagram.t | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/DDG/Goodie/Anagram.pm b/lib/DDG/Goodie/Anagram.pm index d830864eb..d0aba6be4 100644 --- a/lib/DDG/Goodie/Anagram.pm +++ b/lib/DDG/Goodie/Anagram.pm @@ -94,8 +94,6 @@ handle remainder => sub { return $response, structured_answer => { - id => 'anagram', - name => 'Answer', data => { title => html_enc($response), subtitle => $operation . ' ' . html_enc($word) diff --git a/t/Anagram.t b/t/Anagram.t index dcff7dc6b..54d158988 100644 --- a/t/Anagram.t +++ b/t/Anagram.t @@ -12,8 +12,6 @@ sub build_structured_answer { my ($word, $response) = @_; return $response, structured_answer => { - id => 'anagram', - name => 'Answer', data => { title => $response, subtitle => "Anagrams of $word",