Do not add newlines to purchase data
authorChristian Weiske <cweiske@cweiske.de>
Sun, 2 Feb 2020 20:01:18 +0000 (21:01 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 2 Feb 2020 20:01:18 +0000 (21:01 +0100)
bin/import-game-data.php

index 0227b45..97486ff 100755 (executable)
@@ -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",
+        ),
     ];
 }