mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 07:33:58 -06:00
Rename short-url:delete-visits to short-url:visits-delete for consistency with other commands
This commit is contained in:
parent
3916c68126
commit
7f02243c6c
@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
|
||||
### Added
|
||||
* [#1148](https://github.com/shlinkio/shlink/issues/1148) Add support to delete short URL visits.
|
||||
|
||||
This can be done via `DELETE /short-urls/{shortCode}/visits` REST endpoint or via `short-url:delete-visits` console command.
|
||||
This can be done via `DELETE /short-urls/{shortCode}/visits` REST endpoint or via `short-url:visits-delete` console command.
|
||||
|
||||
The CLI command includes a warning and requires the user to confirm before proceeding.
|
||||
|
||||
|
@ -19,7 +19,7 @@ use function sprintf;
|
||||
|
||||
class DeleteShortUrlVisitsCommand extends Command
|
||||
{
|
||||
public const NAME = 'short-url:delete-visits';
|
||||
public const NAME = 'short-url:visits-delete';
|
||||
|
||||
public function __construct(private readonly ShortUrlVisitsDeleterInterface $deleter)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user