nodebb-plugin-calendar-onekite 1.3.1 → 1.3.4

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-lite', middleware.admin.buildHeader, renderAdminPage);
608
- router.get('/api/admin/plugins/calendar-lite', renderAdminPage);
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-lite', middleware.admin.checkPrivileges, async (req, res) => {
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,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-calendar-onekite",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
package/plugin.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "id": "nodebb-plugin-calendar-Onekite",
2
+ "id": "nodebb-plugin-calendar-onekite",
3
3
  "name": "Calendar Onekite",
4
4
  "description": "Calendrier + réservation de matériel + validation admin + paiement HelloAsso pour NodeBB v4",
5
5
  "url": "",
6
- "version": "1.3.1",
6
+ "version": "1.3.4",
7
7
  "library": "./library.js",
8
8
  "staticDirs": {
9
9
  "static": "static"
@@ -25,7 +25,7 @@ $(document).ready(function () {
25
25
  };
26
26
 
27
27
  $.ajax({
28
- url: '/api/admin/plugins/calendar-lite',
28
+ url: '/api/admin/plugins/nodebb-plugin-calendar-onekite',
29
29
  method: 'PUT',
30
30
  contentType: 'application/json',
31
31
  data: JSON.stringify(settings)