diff --git a/apps/peatix-adapter/src/after-purchase/after-purchase.module.ts b/apps/peatix-adapter/src/after-purchase/after-purchase.module.ts index 80d06fbe..5aa741b5 100644 --- a/apps/peatix-adapter/src/after-purchase/after-purchase.module.ts +++ b/apps/peatix-adapter/src/after-purchase/after-purchase.module.ts @@ -16,6 +16,7 @@ import { SupabaseModule } from 'src/supabase/supabase.module' import { SupabaseService } from 'src/supabase/supabase.service' import { DiscordModule } from 'src/discord/discord.module' import { DiscordService } from 'src/discord/discord.service' +import { SalesDailyCommand } from 'src/sales-daily/sales-daily.command' import { UnactivatedCheckService } from 'src/unactivated-check/unactivated-check.service' import { SalesDailyService } from 'src/sales-daily/sales-daily.service' @@ -40,6 +41,7 @@ import { SalesDailyService } from 'src/sales-daily/sales-daily.service' useClass: PuppeteerService, }, AfterPurchaseCommand, + SalesDailyCommand, AfterPurchaseService, UnactivatedCheckService, SalesDailyService, diff --git a/apps/peatix-adapter/src/sales-daily/sales-daily.service.ts b/apps/peatix-adapter/src/sales-daily/sales-daily.service.ts index e867fd08..25228a5c 100644 --- a/apps/peatix-adapter/src/sales-daily/sales-daily.service.ts +++ b/apps/peatix-adapter/src/sales-daily/sales-daily.service.ts @@ -49,8 +49,8 @@ export class SalesDailyService { archives[2].push(`${receipts.filter(v => v.role === Constants.PEATIX_WITH_PARTY_ROLE).filter(v => v.date.includes(`${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`)).length}`) } for (const archive of archives) { - this.logger.log(`${archive.join(', ')} `) - this.discordService.send('After Purchase Bot', `${archive.join(', ')} `) + this.logger.log(`${archive.join(',')}`) + this.discordService.send('After Purchase Bot', `${archive.join(',')}`) } } } diff --git a/package.json b/package.json index a62093e4..95891e73 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "dev": "turbo dev", "build": "turbo build", "build-after-purchase": "turbo build-after-purchase", - "build-unactivated-check": "turbo build-unactivated-check", "build-sales-daily": "turbo build-sales-daily", "build-docs": "turbo build-docs", "build-storybook": "turbo build-storybook", diff --git a/turbo.json b/turbo.json index 206475f1..dc6085d5 100644 --- a/turbo.json +++ b/turbo.json @@ -18,11 +18,6 @@ "outputs": ["dist/**"], "dotEnv": [".env"] }, - "build-unactivated-check": { - "dependsOn": ["^build-after-purchase"], - "outputs": ["dist/**"], - "dotEnv": [".env"] - }, "build-sales-daily": { "dependsOn": ["^build-after-purchase"], "outputs": ["dist/**"],