mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
160 - Testing Callbacks with Invokables
This commit is contained in:
@@ -14,12 +14,12 @@ class ForceStripeAccount
|
||||
* @param \Closure $next
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
public function handle($request, $next)
|
||||
{
|
||||
if (Auth::user()->stripe_account_id === null) {
|
||||
return redirect()->route('backstage.stripe-connect.connect');
|
||||
}
|
||||
|
||||
// return $next($request);
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user