diff --git a/lib/GTSRSSApi.pm b/lib/GTSRSSApi.pm index 7dfd83f..badb4ef 100644 --- a/lib/GTSRSSApi.pm +++ b/lib/GTSRSSApi.pm @@ -334,7 +334,7 @@ EOF $uuid, $pg_date, decode( 'utf-8', $offerer ), $species, $is_shiny, $has_pokerus, - Mojo::JSON::encode_json($offer), $held_item, + Mojo::JSON::to_json($offer), $held_item, ); }; if ($@) {