Browse Source

Update FederationController, fix typo

Daniel Supernault 5 năm trước cách đây
mục cha
commit
33c0db3a9a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/FederationController.php

+ 1 - 1
app/Http/Controllers/FederationController.php

@@ -102,7 +102,7 @@ class FederationController extends Controller
 
         $headers = $request->headers->all();
         $payload = $request->getContent();
-        InboxValidator::dispatchNow($username, $headers, $payload)->onQueue('high');
+        dispatch(new InboxValidator($username, $headers, $payload))->onQueue('high');
         return;
     }