From df6c00db050e188a6bd5707e72c4f1f331ced923 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 08 Feb 2026 20:46:43 +0000
Subject: [PATCH] =Port over to jakevan 2

---
 inc/rest/routes/IntegrationsSquareRoutes.php |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/inc/rest/routes/IntegrationsSquareRoutes.php b/inc/rest/routes/IntegrationsSquareRoutes.php
index 596be1e..4734a65 100644
--- a/inc/rest/routes/IntegrationsSquareRoutes.php
+++ b/inc/rest/routes/IntegrationsSquareRoutes.php
@@ -20,22 +20,26 @@
 		Route::for('square/process-payment')
 			->post([$this, 'handlePaymentProcessing'])
 			->auth('public')
-			->rateLimit(2);
+			->rateLimit(2)
+			->register();
 
 		Route::for('square/saved-cards')
 			->post([$this, 'getSavedCards'])
 			->auth('user')
-			->rateLimit(5);
+			->rateLimit(5)
+			->register();
 
 		Route::for('square/order-history')
 			->get([$this, 'getOrderHistory'])
 			->auth('user')
-			->rateLimit(5);
+			->rateLimit(5)
+			->register();
 
 		Route::for(Route::pattern('square/order-status/{order_id}'))
 			->get([$this, 'getOrderStatus'])
 			->auth('public')
-			->rateLimit(20);
+			->rateLimit(20)
+			->register();
 	}
 
 	//TODO: Are we processing this through our server at all? Or is it in the javascript going straight to square?

--
Gitblit v1.10.0