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/VoteRoutes.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/VoteRoutes.php b/inc/rest/routes/VoteRoutes.php
index 1ddf49f..b79ec08 100644
--- a/inc/rest/routes/VoteRoutes.php
+++ b/inc/rest/routes/VoteRoutes.php
@@ -46,7 +46,8 @@
'user' => 'integer',
])
->auth('user')
- ->rateLimit(30);
+ ->rateLimit(30)
+ ->register();
}
/**
--
Gitblit v1.10.0