From 83f286db0df91cc677b087794559d13bcd126399 Mon Sep 17 00:00:00 2001 From: Agustincito Date: Mon, 4 Mar 2024 11:10:18 -0300 Subject: [PATCH] Revert "Hotfix: Change url (#178)" This reverts commit 67e93171f49b95ba1827f04a3cf574606853523e. --- functions/modules/poap_api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/modules/poap_api.js b/functions/modules/poap_api.js index b474d04..f7f6b55 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://v2fg569j7f.execute-api.us-east-2.amazonaws.com/prod' + let apiUrl = 'https://api.poap.tech' 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