Explorar o código

Merge pull request #2200 from pixelfed/staging

Update FederationController, fix typo
daniel %!s(int64=5) %!d(string=hai) anos
pai
achega
f2ae45e5a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }