File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firestore-stripe-invoices/functions/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const createInvoice = async function ({
74
74
) ;
75
75
76
76
// Create the individual invoice items for this customer from the items in payload
77
- const items : Array < Stripe . InvoiceItem > = await Promise . all ( itemPromises ) ;
77
+ await Promise . all ( itemPromises ) ;
78
78
79
79
const invoiceCreateParams : Stripe . InvoiceCreateParams = {
80
80
customer : customer . id ,
@@ -255,7 +255,7 @@ export const updateInvoice = functions.handler.https.onRequest(
255
255
256
256
logs . startInvoiceUpdate ( eventType ) ;
257
257
258
- let invoicesInFirestore = await admin
258
+ const invoicesInFirestore = await admin
259
259
. firestore ( )
260
260
. collection ( config . invoicesCollectionPath )
261
261
. where ( 'stripeInvoiceId' , '==' , invoice . id )
You can’t perform that action at this time.
0 commit comments