Fix settings save 500 by dropping Events-only preference columns.
Deploy Ladill Transfer / deploy (push) Successful in 33s

Transfer qr_settings only stores notify_email and product_updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 10:29:40 +00:00
co-authored by Cursor
parent b400ca1322
commit c0c95c4bc8
2 changed files with 1 additions and 69 deletions
@@ -75,8 +75,6 @@ class AccountController extends Controller
$data = $request->validate([
'notify_email' => ['nullable', 'email', 'max:255'],
'product_updates' => ['nullable', 'boolean'],
'notify_registrations' => ['nullable', 'boolean'],
'notify_payouts' => ['nullable', 'boolean'],
]);
QrSetting::updateOrCreate(
@@ -84,8 +82,6 @@ class AccountController extends Controller
[
'notify_email' => $data['notify_email'] ?? null,
'product_updates' => $request->boolean('product_updates'),
'notify_registrations' => $request->boolean('notify_registrations'),
'notify_payouts' => $request->boolean('notify_payouts'),
],
);