nodebb-plugin-calendar-onekite 1.0.3 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/library.js
CHANGED
|
@@ -604,10 +604,10 @@ Plugin.init = async function (params) {
|
|
|
604
604
|
|
|
605
605
|
/* PAGE ADMIN PLUGIN */
|
|
606
606
|
|
|
607
|
-
router.get('/admin/plugins/calendar-
|
|
608
|
-
router.get('/api/admin/plugins/calendar-
|
|
607
|
+
router.get('/admin/plugins/nodebb-plugin-calendar-onekite', middleware.admin.buildHeader, renderAdminPage);
|
|
608
|
+
router.get('/api/admin/plugins/nodebb-plugin-calendar-onekite', renderAdminPage);
|
|
609
609
|
|
|
610
|
-
router.put('/api/admin/plugins/calendar-
|
|
610
|
+
router.put('/api/admin/plugins/nodebb-plugin-calendar-onekite', middleware.admin.checkPrivileges, async (req, res) => {
|
|
611
611
|
try {
|
|
612
612
|
await Settings.set('calendar-lite', req.body);
|
|
613
613
|
res.json({ status: 'ok' });
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-plugin-calendar-onekite",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://git.worobel.net/Arnaud/nodebb-plugin-calendar-
|
|
7
|
+
"url": "https://git.worobel.net/Arnaud/nodebb-plugin-calendar-onekite.git"
|
|
8
8
|
},
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"author": "",
|
package/plugin.json
CHANGED
|
File without changes
|
|
File without changes
|