Skip to content

Commit

Permalink
Do not initialize session for swell-js
Browse files Browse the repository at this point in the history
Merge branch 'fix/session-init-redundancy' into 'master'

See merge request schema/origin-storefront!207
  • Loading branch information
Cristian Stănescu committed Nov 28, 2022
2 parents 86327fa + 959c7df commit d7bffef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/swell/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default async (context, inject) => {
previewContent: '<%= options.editorMode %>' === 'true',
url: '<%= options.storeUrl %>',
vaultUrl: '<%= options.vaultUrl || "" %>',
session: cookies['swell-session'],
currency,
locale,
});
Expand Down

0 comments on commit d7bffef

Please sign in to comment.