Remove tag length.

This commit is contained in:
James Cole 2023-12-31 17:38:41 +01:00
parent e318e8e9cf
commit 16079f496a
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class StoreRequest extends FormRequest
'transactions.*.category_name' => 'between:1,255|nullable',
'transactions.*.piggy_bank_id' => ['nullable', 'numeric', 'mustExist:piggy_banks,id', new BelongsUser()],
'transactions.*.piggy_bank_name' => ['between:1,255', 'nullable', new BelongsUser()],
'transactions.*.tags' => 'nullable|between:1,64000',
'transactions.*.tags' => 'nullable|between:1,255',
];
}

View File

@ -117,7 +117,7 @@ class UpdateRequest extends FormRequest
'transactions.*.category_name' => 'between:1,255|nullable',
'transactions.*.piggy_bank_id' => ['nullable', 'numeric', 'mustExist:piggy_banks,id', new BelongsUser()],
'transactions.*.piggy_bank_name' => ['between:1,255', 'nullable', new BelongsUser()],
'transactions.*.tags' => 'nullable|between:1,64000',
'transactions.*.tags' => 'nullable|between:1,255',
];
}