From b599dd949af8f15641d5d7487bd3801a92ed1ca0 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 2 Feb 2020 21:01:18 +0100 Subject: [PATCH] Do not add newlines to purchase data --- bin/import-game-data.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/import-game-data.php b/bin/import-game-data.php index 0227b45..97486ff 100755 --- a/bin/import-game-data.php +++ b/bin/import-game-data.php @@ -586,11 +586,11 @@ function buildSearch($games) function dummyEncrypt($data) { return [ - 'key' => base64_encode('0123456789abcdef') . "\n", - 'iv' => 't3jir1LHpICunvhlM76edQ==' . "\n",//random bytes + 'key' => base64_encode('0123456789abcdef'), + 'iv' => 't3jir1LHpICunvhlM76edQ==',//random bytes 'blob' => base64_encode( json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) - ) . "\n", + ), ]; } -- 2.30.2