SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

This will thought an error #98

Closed iivanov-Emakina closed 2 years ago

iivanov-Emakina commented 2 years ago

https://github.com/SalesforceCommerceCloud/b2c-crm-sync/blob/ceb0f0eb4d4c014d8252c41a97ec3b67087a6ee4/src/sfcc/cartridges/plugin_b2ccrmsync_oobo/cartridge/scripts/hooks/session.js#L27

On line 13 we already defined current site, so no need in "Site.current"

jbachelet commented 2 years ago

Hello @iivanov-Emakina ,

Thank you for opening this issue. I fixed this into the PR#100, merged into develop branch.

This will be part of the 1.2.0 release

Thanks! Closing this issue