Skip to content

Commit

Permalink
feature(website): update video and mobile illustration sections on ne…
Browse files Browse the repository at this point in the history
…w landing page (#891)
  • Loading branch information
mkue authored Aug 11, 2024
1 parent df12d11 commit 32e1088
Show file tree
Hide file tree
Showing 6 changed files with 490 additions and 54 deletions.
3 changes: 1 addition & 2 deletions shared/src/stripe/StripeEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class StripeEventHandler {
};

/**
* Try to find an existing user using create a new on.
* Try to find an existing user using create a new one.
*/
getOrCreateFirestoreUser = async (customer: Stripe.Customer): Promise<DocumentReference<User>> => {
const userDoc = await this.findFirestoreUser(customer);
Expand Down Expand Up @@ -177,7 +177,6 @@ export class StripeEventHandler {

/**
* Extracts information out of the stripe charge to build a User.
* This is mainly for failed payments where we didn't create a user through the website directly
*/
constructUser = (customer: Stripe.Customer): User => {
if (!customer.id || !customer.email) {
Expand Down
Loading

0 comments on commit 32e1088

Please sign in to comment.