From 91d341b2e947793e1dd98fa0cc19fb8a6c7c2e99 Mon Sep 17 00:00:00 2001 From: Alexis Gousseau Date: Wed, 15 Apr 2026 12:15:50 +0200 Subject: [PATCH] fix: :bug: remove sending brand id in claim call crm#52 --- src/CrmApiV4.php | 3 --- src/Models/Claim.php | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/CrmApiV4.php b/src/CrmApiV4.php index 7390cb8..9e0512d 100644 --- a/src/CrmApiV4.php +++ b/src/CrmApiV4.php @@ -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, diff --git a/src/Models/Claim.php b/src/Models/Claim.php index 244a65c..06e6232 100644 --- a/src/Models/Claim.php +++ b/src/Models/Claim.php @@ -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',