Another missing check for manifest.addons

This commit is contained in:
Johannes Zellner
2024-07-27 11:56:36 +02:00
parent 4f03a6fb58
commit 6056ba6475
+1 -1
View File
@@ -1792,7 +1792,7 @@ async function startRedis(existingInfra) {
const allApps = await apps.list();
for (const app of allApps) {
if (!('redis' in app.manifest.addons)) continue; // app doesn't use the addon
if (!app.manifest.addons || !('redis' in app.manifest.addons)) continue; // app doesn't use the addon
const redisName = `redis-${app.id}`;