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 +2 -3
- package/package.json +1 -1
- package/plugin.json +1 -1
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
|
-
|
|
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
|
-
|
|
866
|
-
sampleItems,
|
|
865
|
+
sampleItems,
|
|
867
866
|
hasSampleItems,
|
|
868
867
|
hasSampleItems: sampleItems && sampleItems.length > 0,
|
|
869
868
|
});
|
package/package.json
CHANGED