From 0afb2c0046b55c123eafb4ab9ee77efa68d12463 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 06 Jun 2026 17:15:31 +0000
Subject: [PATCH] =Starting the Favourites.js setup, converting previous Northeh stuff to new Registrar, fixing up Square.php integration to match
---
inc/rest/routes/SettingsRoutes.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/SettingsRoutes.php b/inc/rest/routes/SettingsRoutes.php
index f49c2bd..b5d4926 100644
--- a/inc/rest/routes/SettingsRoutes.php
+++ b/inc/rest/routes/SettingsRoutes.php
@@ -38,7 +38,8 @@
Route::for('settings')
->post([$this, 'saveSettings'])
->auth(PermissionHandler::combine(['admin', ['actionNonce' => 'dash-']]))
- ->rateLimit(20);
+ ->rateLimit(20)
+ ->register();
}
/**
@@ -144,6 +145,7 @@
}
$this->cache->flush();
}
+
return [
'success' => true,
'result' => $results,
--
Gitblit v1.10.0