From bfe0a5dd88372f49600f66dc2c8c28d5b0b8acec Mon Sep 17 00:00:00 2001 From: Glauber Silva Date: Thu, 5 Sep 2024 17:17:42 -0300 Subject: [PATCH] fix: remove old property --- src/Campaigns/Routes/CreateCampaign.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Campaigns/Routes/CreateCampaign.php b/src/Campaigns/Routes/CreateCampaign.php index 6ea2f1c9d9..420e6e9cae 100644 --- a/src/Campaigns/Routes/CreateCampaign.php +++ b/src/Campaigns/Routes/CreateCampaign.php @@ -77,7 +77,6 @@ public function registerRoute() public function handleRequest(WP_REST_Request $request): WP_REST_Response { $campaign = Campaign::create([ - 'pageId' => 0, 'type' => CampaignType::CORE(), 'title' => $request->get_param('title'), 'shortDescription' => $request->get_param('shortDescription'),