Skip to content

Commit

Permalink
Fix string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeevski committed Dec 8, 2021
1 parent beefc3d commit c173146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function url($resource, $id, $params)
$token = $this->encode([$resource => $id], $params);

// Generate embed URL
$url = $this->url . '/embed/' . $resource . '/' . $token . '#';
$url = $this->url . '/embed/' . $resource . '/' . $token->toString() . '#';

// Should border be included
if ($this->border) {
Expand Down

0 comments on commit c173146

Please sign in to comment.