Skip to content

Add stripe#408

Open
Variellka wants to merge 31 commits intoak/boostfrom
xl/stripe
Open

Add stripe#408
Variellka wants to merge 31 commits intoak/boostfrom
xl/stripe

Conversation

@Variellka
Copy link

No description provided.


await userService.updateOne({ _id: user._id }, () => ({ isEmailVerified: true }));

if (!user.stripeId) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider when create?

user.subscription.subscriptionId,
)) as Stripe.Subscription;

if (stripeSubscription.status === 'canceled') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enum


const ChatNavigation = ({ isCollapsed }: ChatNavigationProps) => {
const router = useRouter();
const qc = useQueryClient();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import queryClient from queryClient

router.push(RoutePath.ChatIndex);
}
}}
title={isCollapsed ? 'Chat' : undefined}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&&

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants