From a24a06002081ad71a78ffeff9072725ba39cf121 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 17 Feb 2026 20:05:31 +0000
Subject: [PATCH] =minor changes, particularly around the JVB_CHILD_URL pattern
---
inc/rest/routes/NewsRoutes.php | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/NewsRoutes.php b/inc/rest/routes/NewsRoutes.php
index bb9caae..8e30b42 100644
--- a/inc/rest/routes/NewsRoutes.php
+++ b/inc/rest/routes/NewsRoutes.php
@@ -60,13 +60,15 @@
'type' => 'integer',
])
->auth(PermissionHandler::combine(['user','nonce',['actionNonce'=>'dash-']]))
- ->rateLimit(30);
+ ->rateLimit(30)
+ ->register();
Route::for(Route::pattern('news/{id}'))
->get([$this, 'getNewsItem'])
->arg('id', 'integer|required')
->auth(PermissionHandler::combine(['user','nonce', ['actionNonce'=>'dash-']]))
- ->rateLimit(30);
+ ->rateLimit(30)
+ ->register();
}
/**
@@ -391,6 +393,7 @@
$m = $meta->set($key, $value);
$result[$key] = $m;
}
+ $meta->save();
}
$this->cache->flush();
--
Gitblit v1.10.0