diff --git a/internal_packages/participant-profile/lib/clearbit-data-source.coffee b/internal_packages/participant-profile/lib/clearbit-data-source.coffee index 74e18e890..2a7eb775d 100644 --- a/internal_packages/participant-profile/lib/clearbit-data-source.coffee +++ b/internal_packages/participant-profile/lib/clearbit-data-source.coffee @@ -9,7 +9,10 @@ module.exports = class ClearbitDataSource tok = AccountStore.tokenForAccountId(AccountStore.accounts()[0].id) new Promise (resolve, reject) => EdgehillAPI.request - path: "/proxy/clearbit/#{@clearbitAPI()}/find?email=#{email}&api_token=#{tok}", + auth: + user: tok + pass: "" + path: "/proxy/clearbit/#{@clearbitAPI()}/find?email=#{email}", success: (body) => resolve(@parseResponse(body)) error: reject