diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5ea8ba..04cfb169 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,6 @@ on: jobs: ci: - uses: TogetherCrew/operations/.github/workflows/ci.yml@main + uses: TogetherCrew/operations/.github/workflows/ci2.yml@main secrets: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} diff --git a/src/services/module.service.ts b/src/services/module.service.ts index 8f3b35c5..760d300c 100644 --- a/src/services/module.service.ts +++ b/src/services/module.service.ts @@ -1,10 +1,13 @@ import { FilterQuery, HydratedDocument, ObjectId, Types } from 'mongoose'; -import { IModule, IModuleUpdateBody, Module, PlatformNames, ModuleNames } from '@togethercrew.dev/db'; +import { + IModule, IModuleUpdateBody, Module, ModuleNames, PlatformNames +} from '@togethercrew.dev/db'; import platformService from './platform.service'; -import websiteService from './website'; import temporalMediaWiki from './temporal/mediaWiki.service'; +import websiteService from './website'; + /** * Create a module * @param {IModule} ModuleBody @@ -91,9 +94,9 @@ const updateModule = async ( const existingPlatform = module.options.platforms.find((p) => p.name === newPlatform.name); if (existingPlatform) { - // if (module.name === ModuleNames.Hivemind && newPlatform.name === PlatformNames.Website) { - // await handleHivemindWebsiteCase(newPlatform); - // } + if (module.name === ModuleNames.Hivemind && newPlatform.name === PlatformNames.Website) { + await handleHivemindWebsiteCase(newPlatform); + } if (module.name === ModuleNames.Hivemind && newPlatform.name === PlatformNames.MediaWiki) { await handleHivemindMediaWikiCase(newPlatform); }