fix: 🐛 remove sending brand id in claim call crm#52

This commit is contained in:
Alexis Gousseau 2026-04-15 12:15:50 +02:00
parent d6399f77e9
commit 91d341b2e9
No known key found for this signature in database
GPG key ID: 7F3C786EE12DBB72
2 changed files with 0 additions and 7 deletions

View file

@ -134,7 +134,6 @@ class CrmApiV4
* @param string $first_name
* @param string $email
* @param string $message
* @param integer $brand_id
* @param integer $subject_id
* @param string|null $address
* @param string|null $city
@ -152,7 +151,6 @@ class CrmApiV4
#[\SensitiveParameter] string $first_name,
#[\SensitiveParameter] string $email,
#[\SensitiveParameter] string $message,
#[\SensitiveParameter] int $brand_id,
#[\SensitiveParameter] int $subject_id,
#[\SensitiveParameter] ?string $address = null,
#[\SensitiveParameter] ?string $city = null,
@ -164,7 +162,6 @@ class CrmApiV4
$first_name,
$email,
$message,
$brand_id,
$subject_id,
$address,
$city,

View file

@ -28,7 +28,6 @@ abstract class Claim extends ClientModel
'postcode' => 'sometimes|nullable|string',
'file' => 'sometimes|nullable|string',
'message' => 'required|string|min:3',
'brand_id' => 'required|int|min:1',
'subject_id' => 'required|int|min:1',
];
@ -39,7 +38,6 @@ abstract class Claim extends ClientModel
* @param string $first_name
* @param string $email
* @param string $message
* @param integer $brand_id
* @param integer $subject_id
* @param string|null $address
* @param string|null $city
@ -56,7 +54,6 @@ abstract class Claim extends ClientModel
#[\SensitiveParameter] string $first_name,
#[\SensitiveParameter] string $email,
#[\SensitiveParameter] string $message,
#[\SensitiveParameter] int $brand_id,
#[\SensitiveParameter] int $subject_id,
#[\SensitiveParameter] ?string $address = null,
#[\SensitiveParameter] ?string $city = null,
@ -69,7 +66,6 @@ abstract class Claim extends ClientModel
'first_name',
'email',
'message',
'brand_id',
'subject_id',
'address',
'city',