We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f395c96 + fe4df10 commit 2baaedbCopy full SHA for 2baaedb
src/services/module.service.ts
@@ -98,15 +98,15 @@ const updateModule = async (
98
console.log('S4', existingPlatform);
99
100
if (existingPlatform) {
101
- existingPlatform.metadata = newPlatform.metadata;
102
- } else {
103
- module.options.platforms.push(newPlatform);
104
console.log('A1', module.name, newPlatform.name);
105
if (module.name === ModuleNames.Hivemind && newPlatform.name === PlatformNames.Website) {
106
console.log('A2');
107
108
await handleHivemindWebsiteCase(newPlatform);
109
}
+ existingPlatform.metadata = newPlatform.metadata;
+ } else {
+ module.options.platforms.push(newPlatform);
110
111
112
return module.save();
0 commit comments