From 3baf3d2545ba6ece6b74a64c0def59bd0774cf54 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 10 Jun 2026 16:34:12 +0000
Subject: [PATCH] =Laid the groundwork for an improved DashboardManager.php setup. Have to put it aside so I can get the dang Northeh done though.

---
 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