margaritahumanitarian / helpafamily

Use shorthand property syntax for object literals JS-0240
Anti-pattern
Minor
2 occurrences in this check
Expected property shorthand
13    const response = await fetch('/api/create-stripe-session', {
14      body: JSON.stringify({
15        name: name,
16        email: email,17        amount: amount * dollarsToCentsMultiplier,
18      }),
19      headers: {
Expected property shorthand
12
13    const response = await fetch('/api/create-stripe-session', {
14      body: JSON.stringify({
15        name: name,16        email: email,
17        amount: amount * dollarsToCentsMultiplier,
18      }),