From d66861d8bb1f6f15ffda095c2954c66920387561 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 11 Feb 2026 00:42:21 +0000
Subject: [PATCH] =upload routes minor fix (actually register the first route)

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

diff --git a/inc/rest/routes/UploadRoutes.php b/inc/rest/routes/UploadRoutes.php
index 8ac6fe6..b457a91 100644
--- a/inc/rest/routes/UploadRoutes.php
+++ b/inc/rest/routes/UploadRoutes.php
@@ -90,7 +90,9 @@
 		Route::for('uploads')
 			->post([$this, 'handleUpload'])
 			->auth(PermissionHandler::combine(['nonce']))
-			->rateLimit(30);
+			->rateLimit(30)
+			->register();
+		
 		Route::for('uploads/groups')
 			->post([$this, 'handleGroupingRequest'])
 			->auth(PermissionHandler::combine(['nonce']))

--
Gitblit v1.10.0