blob: fa9980cc0035c92040f34c93d741c9c38d59b724 [file] [log] [blame]
Akron0e1ed242018-10-11 13:22:00 +02001% use Mojo::JSON 'encode_json';
2
3% if (stash('api_response')) {
4%= javascript begin
5% my $kq_hash = stash('api_response');
6% $kq_hash->{matches} = ["..."];
7 KorAP.koralQuery = <%= b(encode_json($kq_hash))->decode %>;
8% end
9% };