Updates for rotessa

This commit is contained in:
David Bomba 2024-09-26 12:04:01 +10:00
parent f5226d342f
commit ce181b976a

View File

@ -111,7 +111,7 @@ class PaymentMethod implements MethodInterface, LivewireMethodInterface
$message = json_decode($e->getMessage(), true); $message = json_decode($e->getMessage(), true);
return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors'])); return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors'] ?? [$e->getMessage()]));
} }