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 0227b459ff3bbfa3bc22c73ef8c6d5d5742e731c..97486ff201ff2a90573fdced45d41329236a7aa6 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",
+        ),
     ];
 }