Closed mattngan closed 10 months ago
Hi there,
I've noticed that https://github.com/segmentio/analytics.js-integrations/pull/759 introduces a bug for the WalkMe integration
We have removed the "\/" on the following line
"\/"
var env = (this.options.environment && this.options.environment.toLowerCase());
https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/walkme/lib/index.js#L41
but however left it in the checks in the if on this line:
if
if (!env || env == "\/" || env == "\/production") {
https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/walkme/lib/index.js#L43
This is leading to production urls being generated differently than before leading to a AccessDenied response from WalkMe
AccessDenied
Pr to fix typo - https://github.com/segmentio/analytics.js-integrations/pull/771
Hi there,
I've noticed that https://github.com/segmentio/analytics.js-integrations/pull/759 introduces a bug for the WalkMe integration
We have removed the
"\/"
on the following linehttps://github.com/segmentio/analytics.js-integrations/blob/master/integrations/walkme/lib/index.js#L41
but however left it in the checks in the
if
on this line:https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/walkme/lib/index.js#L43
This is leading to production urls being generated differently than before leading to a
AccessDenied
response from WalkMe