From a9b3b28d001941921aa70d37fdc87c758a163a44 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 05 Jun 2026 16:47:03 +0000
Subject: [PATCH] =Some hefty changes to FeedBlock. Transitioning to loading first page in php to save on extra requests. Got a bit to do yet, but I have to work on Northeh for a bit here.

---
 inc/rest/routes/ImporterRoutes.php |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/inc/rest/routes/ImporterRoutes.php b/inc/rest/routes/ImporterRoutes.php
index 2e4bdaf..b5debfa 100644
--- a/inc/rest/routes/ImporterRoutes.php
+++ b/inc/rest/routes/ImporterRoutes.php
@@ -33,7 +33,8 @@
 				'options' => 'string', // JSON string of options
 			])
 			->auth('admin')
-			->rateLimit(3, 300); // 3 imports per 5 minutes
+			->rateLimit(3, 300)
+			->register(); // 3 imports per 5 minutes
 
 		// Sales import endpoint
 		Route::for('jane/import-sales')
@@ -42,14 +43,16 @@
 				'options' => 'string', // JSON string of options
 			])
 			->auth('admin')
-			->rateLimit(3, 300); // 3 imports per 5 minutes
+			->rateLimit(3, 300)
+			->register(); // 3 imports per 5 minutes
 
 		// Get import status
 		Route::for(Route::pattern('jane/import-status/{id}'))
 			->get([$this, 'getImportStatus'])
 			->arg('id', 'string|required')
 			->auth('admin')
-			->rateLimit(30, 60);
+			->rateLimit(30)
+			->register();
 	}
 
 	/**

--
Gitblit v1.10.0