Skip to content

Commit

Permalink
Merge pull request #180 from poap-xyz/revert/hot-fix
Browse files Browse the repository at this point in the history
Revert "Hotfix: Change url (#178)"
  • Loading branch information
alavarello authored Mar 4, 2024
2 parents 67e9317 + 83f286d commit 1fd3a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/modules/poap_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) => {
Expand Down Expand Up @@ -165,4 +165,4 @@ exports.call_poap_endpoint = async ( endpoint='', data, method='GET', format='js
}


}
}

0 comments on commit 1fd3a1f

Please sign in to comment.