nodebb-plugin-equipment-calendar 0.9.1 → 0.9.8

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
@@ -839,7 +839,7 @@ async function handleHelloAssoTest(req, res) {
839
839
  // force=1 skips in-memory cache and refresh_token; clear=1 wipes stored refresh token
840
840
  haTokenCache = null;
841
841
  await getHelloAssoAccessToken(settings,
842
- saved, { force, clearStored: clear });
842
+ { force, clearStored: clear });
843
843
  const items = await fetchHelloAssoItems(settings);
844
844
  const list = Array.isArray(items) ? items : (Array.isArray(items.data) ? items.data : []);
845
845
  count = list.length;
@@ -862,8 +862,7 @@ async function handleHelloAssoTest(req, res) {
862
862
  message,
863
863
  count,
864
864
  settings,
865
- saved,
866
- sampleItems,
865
+ sampleItems,
867
866
  hasSampleItems,
868
867
  hasSampleItems: sampleItems && sampleItems.length > 0,
869
868
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-equipment-calendar",
3
- "version": "0.9.1",
3
+ "version": "0.9.8",
4
4
  "description": "Equipment reservation calendar for NodeBB (FullCalendar, approvals, HelloAsso payments)",
5
5
  "main": "library.js",
6
6
  "scripts": {
package/plugin.json CHANGED
@@ -25,6 +25,6 @@
25
25
  "scripts": [
26
26
  "public/js/client.js"
27
27
  ],
28
- "version": "0.5.6",
28
+ "version": "0.5.7",
29
29
  "minver": "4.7.1"
30
30
  }