郑晓宇 před 6 roky
rodič
revize
19be92aebf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Jobs/Settlement.php

+ 1 - 1
app/Jobs/Settlement.php

@@ -133,7 +133,7 @@ class Settlement implements ShouldQueue
                 $message['winer'] = $winer;
                 $message['winer_score'] = $winer_score;
                 $message['type'] = 'game_end';
-                Gateway::sendToUid($user->user_id, $message);
+                Gateway::sendToUid($user->user_id, json_encode($message));
             }
 
         }else{