Skip to content

Commit

Permalink
Revert - remove unused providers
Browse files Browse the repository at this point in the history
- UnactivatedCheckCommand
- SalesDailyCommand
  • Loading branch information
jiyuujin committed Sep 1, 2024
1 parent 71a9152 commit 219ca09
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -40,6 +41,7 @@ import { SalesDailyService } from 'src/sales-daily/sales-daily.service'
useClass: PuppeteerService,
},
AfterPurchaseCommand,
SalesDailyCommand,
AfterPurchaseService,
UnactivatedCheckService,
SalesDailyService,
Expand Down
4 changes: 2 additions & 2 deletions apps/peatix-adapter/src/sales-daily/sales-daily.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(',')}`)
}
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"],
Expand Down

0 comments on commit 219ca09

Please sign in to comment.