diff --git a/functions/modules/poap_api.js b/functions/modules/poap_api.js index f7f6b55..b474d04 100644 --- a/functions/modules/poap_api.js +++ b/functions/modules/poap_api.js @@ -89,7 +89,7 @@ exports.call_poap_endpoint = async ( endpoint='', data, method='GET', format='js /* /////////////////////////////// // Generate API url */ // let apiUrl = dev ? 'https://dev-api.poap.tech' : 'https://api.poap.tech' // The new tokens we use are all for the live api - let apiUrl = 'https://api.poap.tech' + let apiUrl = 'https://v2fg569j7f.execute-api.us-east-2.amazonaws.com/prod' if( has_get_data ) { const queryString = Object.keys( data ).reduce( ( acc, key ) => { @@ -165,4 +165,4 @@ exports.call_poap_endpoint = async ( endpoint='', data, method='GET', format='js } -} \ No newline at end of file +}