Skip to content

Commit

Permalink
fix function handler name
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck committed Oct 22, 2024
1 parent 98548c9 commit 8d99a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Sentry.AWSLambda.init({
* customerTable?: string
* billingMeterName?: string
* stripeSecretKey?: string
* customerStore?: import('../lib/api').CustomerStore
* customerStore?: import('../lib/api.js').CustomerStore
* }} CustomHandlerContext
*/

Expand Down Expand Up @@ -80,7 +80,7 @@ export const handler = Sentry.AWSLambda.wrapHandler(
* @param {import('../lib/api.js').CustomerStore} customerStore
* @param {import('stripe').Stripe} stripe
* @param {string} billingMeterEventName
* @param {import('../lib/api').EgressTrafficData} egressEventData
* @param {import('../lib/api.js').EgressTrafficData} egressEventData
*/
async function recordEgress(customerStore, stripe, billingMeterEventName, egressEventData) {
const response = await customerStore.get({ customer: egressEventData.customer })
Expand Down
2 changes: 1 addition & 1 deletion billing/test/helpers/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { createSpaceSnapshotStore, spaceSnapshotTableProps } from '../../tables/
import { createUsageStore, usageTableProps } from '../../tables/usage.js'
import { createQueueRemoverClient } from './queue.js'
import { createEgressTrafficQueue } from '../../queues/egress-traffic.js'
import { handler as createEgressTrafficHandler } from '../../functions/egress-traffic-handler.js'
import { handler as createEgressTrafficHandler } from '../../functions/egress-traffic-queue.js'
import Stripe from 'stripe'

dotenv.config({ path: path.resolve('../.env.local'), override: true, debug: true })
Expand Down

0 comments on commit 8d99a5f

Please sign in to comment.