cloudron 5.14.5 → 5.14.7
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/package.json
CHANGED
package/src/appstore-actions.js
CHANGED
|
@@ -470,7 +470,7 @@ async function notify() {
|
|
|
470
470
|
|
|
471
471
|
const categoryResponse = await superagent.get(`https://forum.cloudron.io/api/v3/categories/${categoryId}/topics`).set('Authorization', `Bearer ${apiToken}`).ok(() => true);
|
|
472
472
|
if (categoryResponse.status !== 200) return exit(`Unable to get topics of category: ${requestError(categoryResponse)}`);
|
|
473
|
-
const topic = categoryResponse.body.response.topics.find(t => t.title.toLowerCase().includes('Package Updates'.toLowerCase());
|
|
473
|
+
const topic = categoryResponse.body.response.topics.find(t => t.title.toLowerCase().includes('Package Updates'.toLowerCase()));
|
|
474
474
|
if (!topic) return exit('Could not find the Package Update topic');
|
|
475
475
|
const topicId = topic.tid;
|
|
476
476
|
|