Skip to content

Commit

Permalink
Fix another use of cookies->getValue.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Jan 15, 2024
1 parent 73af4fe commit dca894a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OctaneMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle(Request $request, Closure $next)

$referenceId = $request->query->get('_tideways_ref', $request->headers->get('X-Tideways-Ref'));
if ($request->cookies->has('TIDEWAYS_REF')) {
$referenceId = $request->cookies->get('TIDEWAYS_REF')->getValue();
$referenceId = $request->cookies->get('TIDEWAYS_REF');
}

if ($referenceId) {
Expand Down

0 comments on commit dca894a

Please sign in to comment.