Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Add shop to parameter if we already have it #956

Merged
merged 3 commits into from
Sep 8, 2021
Merged

Add shop to parameter if we already have it #956

merged 3 commits into from
Sep 8, 2021

Conversation

LonnyX
Copy link
Contributor

@LonnyX LonnyX commented Aug 25, 2021

This will fix Safari related issue: #950

@lucasmichot
Copy link
Collaborator

@LonnyX can you fix the build ?

@gnikyt
Copy link
Owner

gnikyt commented Sep 8, 2021

@LonnyX ??= is for PHP 7.5 and up only I think? Might be 7.4, but def not 7.3

You'll need to update your code to not use ??= and it'll pass :)

@@ -82,8 +82,12 @@ public function token(Request $request)
if ($query) {
// remove "token" from the target's query string
$params = Util::parseQueryString($query);
$params['shop'] ??= $shopDomain->toNative() ?? '';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use support for 7.3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@osiset you're right

@gnikyt gnikyt merged commit 2640339 into gnikyt:master Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants