diff --git a/functions/statusCallback.protected.ts b/functions/statusCallback.protected.ts index 067f99f..362a1e5 100644 --- a/functions/statusCallback.protected.ts +++ b/functions/statusCallback.protected.ts @@ -1,6 +1,7 @@ import { ServerlessFunctionSignature } from '@twilio-labs/serverless-runtime-types/types'; import { InsertParams, StatusCallbackServerlessEventObject, TwilioEnvironmentVariables } from './types/interfaces'; import { connect, config, Request } from 'mssql'; +import moment from 'moment'; const constructRequest = (request: Request, params: InsertParams) => { const columns = Object.keys(params).join(", ") @@ -19,7 +20,7 @@ export const handler: ServerlessFunctionSignature