mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Added forwardQuery prop to the SHortUrl serialization
This commit is contained in:
@@ -33,6 +33,7 @@ class ShortUrlDataTransformer implements DataTransformerInterface
|
||||
'domain' => $shortUrl->getDomain(),
|
||||
'title' => $shortUrl->title(),
|
||||
'crawlable' => $shortUrl->crawlable(),
|
||||
'forwardQuery' => $shortUrl->forwardQuery(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@ class MercureUpdatesGeneratorTest extends TestCase
|
||||
'domain' => null,
|
||||
'title' => $title,
|
||||
'crawlable' => false,
|
||||
'forwardQuery' => true,
|
||||
],
|
||||
'visit' => [
|
||||
'referer' => '',
|
||||
|
||||
Reference in New Issue
Block a user