]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Magic.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Magic.php
index 3000e953cdd6d8154652e3b679b6e2fccfd9af11..aa7a75aa701752d0511e94c887e935368926edd3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -130,8 +130,8 @@ class Magic extends BaseModule
                }
 
                $header = [
-                       'Accept'          => ['application/x-dfrn+json', 'application/x-zot+json'],
-                       'X-Open-Web-Auth' => [Strings::getRandomHex()],
+                       'Accept'          => 'application/x-dfrn+json, application/x-zot+json',
+                       'X-Open-Web-Auth' => Strings::getRandomHex()
                ];
 
                // Create a header that is signed with the local users private key.