From a6413da67a4579866f0fd0323ddb23a7b6b9654a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 18 Sep 2026 17:00:53 +0000
Subject: [PATCH] =Cleaning up the Integrations setup a bit, started the Helcim integration work too

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

diff --git a/inc/rest/routes/TermRoutes.php b/inc/rest/routes/TermRoutes.php
index ce0f578..aa18144 100644
--- a/inc/rest/routes/TermRoutes.php
+++ b/inc/rest/routes/TermRoutes.php
@@ -601,9 +601,9 @@
 			], 201); // 201 Created
 
 		} catch (Exception $e) {
-			Errors::getInstance()->log(
-				'terms',
+			$this->logError(
 				'Term creation failed: ' . $e->getMessage(),
+				'createTermRequest',
 				['user_id' => $user_id, 'taxonomy' => $taxonomy, 'name' => $name]
 			);
 

--
Gitblit v1.10.0