Skip to content

Commit

Permalink
Merge pull request #356 from claushaas/staging
Browse files Browse the repository at this point in the history
fix login subscription creation
  • Loading branch information
claushaas authored Sep 6, 2024
2 parents 5d2344b + e6a4005 commit c539f57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/services/subscription.service.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class SubscriptionService {
const hasBeginnerSubscription = actualSubscriptions?.some(subscription => subscription.courseSlug === 'yoga-para-iniciantes');
const hasOldFormationSubscriptions = actualSubscriptions?.some(subscription => subscription.courseSlug === 'formacao-de-instrutores');

if (!hasIuguSubscriptions || !hasHotmartSchoolSubscriptions || !hasHotmartFormationSubscriptions || !hasBeginnerSubscription) {
if (!hasIuguSubscriptions || !hasHotmartSchoolSubscriptions || !hasHotmartFormationSubscriptions || !hasBeginnerSubscription || !hasOldFormationSubscriptions) {
await Promise.all([
!hasIuguSubscriptions && this._createUserIuguSubscriptions(user),
!hasHotmartSchoolSubscriptions && this._createUserHotmartSchoolSubscriptions(user),
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"remix-express-dev-server": "^0.4.4",
"tailwindcss": "^3.4.10",
"tailwindcss-radix": "^3.0.5",
"tailwindcss-radix-colors": "^1.3.1",
"tailwindcss-radix-colors": "^1.4.1",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vite": "^5.4.3",
Expand Down

0 comments on commit c539f57

Please sign in to comment.