Skip to content

Commit

Permalink
Merge pull request #179 from poap-xyz/development
Browse files Browse the repository at this point in the history
Hotfix: Change url (#178)
  • Loading branch information
alavarello authored Mar 3, 2024
2 parents 6149bb5 + 67e9317 commit d627c1f
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://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 ) => {
Expand Down Expand Up @@ -165,4 +165,4 @@ exports.call_poap_endpoint = async ( endpoint='', data, method='GET', format='js
}


}
}

0 comments on commit d627c1f

Please sign in to comment.