From 47e77f9fac1155c536b2b87fec552c7fcce66fa6 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 01 Jun 2026 18:06:34 +0000
Subject: [PATCH] =Timeline block fixes. Next up: adding article schema classes

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