import { APIGatewayProxyEvent , APIGatewayProxyResult } from "aws-lambda" ; import axios from "axios" ; import { headers } from "../lambda-helpers" ; export const handler = async ( event ) : Promise < APIGatewayProxyResult > => axios . get ( `${ process . env . FLOSS_API_URL }/stripe-products?project=RoamJS` ) . then ( ( r ) => ( { statusCode : 200 , body : JSON . stringify ( r . data ) , headers : headers ( event ) , } ) ) ;