From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.

---
 inc/rest/routes/ShopRoutes.php |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/inc/rest/routes/ShopRoutes.php b/inc/rest/routes/ShopRoutes.php
index 923a74a..780b253 100644
--- a/inc/rest/routes/ShopRoutes.php
+++ b/inc/rest/routes/ShopRoutes.php
@@ -175,7 +175,6 @@
 		}
 
 		$meta->setAll($setData);
-		$results = $meta->save();
 
 //        $results = [];
 //
@@ -1385,10 +1384,8 @@
 
 
         $userMeta->set($uMeta, $shops);
-		$userMeta->save();
 
         $artistMeta->set($aMeta, $shops);
-		$artistMeta->save();
 
         $owners = $shopMeta->get($sMeta);
         $owners = ($owners === '') ? [] : explode(',', $shops);
@@ -1397,7 +1394,6 @@
         }
         $owners = implode(',', $owners);
         $shopMeta->set($sMeta, $owners);
-		$shopMeta->save();
         return true;
     }
 }

--
Gitblit v1.10.0