Parcourir la source

Merge branch 'dev' of https://github.com/v2board/v2board into dev

tokumeikoi il y a 3 ans
Parent
commit
8e1a313709
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      app/Console/Commands/V2boardStatistics.php
  2. 2 2
      app/Utils/URLSchemes.php

+ 1 - 1
app/Console/Commands/V2boardStatistics.php

@@ -9,7 +9,7 @@ use App\Models\StatOrder;
 use App\Models\ServerLog;
 use Illuminate\Support\Facades\DB;
 
-class V2BoardStatistics extends Command
+class V2boardStatistics extends Command
 {
     /**
      * The name and signature of the console command.

+ 2 - 2
app/Utils/URLSchemes.php

@@ -36,9 +36,9 @@ class URLSchemes
             "v" => "2",
             "ps" => $server['name'],
             "add" => $server['host'],
-            "port" => $server['port'],
+            "port" => (string)$server['port'],
             "id" => $user['uuid'],
-            "aid" => $server['alter_id'],
+            "aid" => (string)$server['alter_id'],
             "net" => $server['network'],
             "type" => "none",
             "host" => "",