Added amount of bots, non-bots and total visits to the list of tags with stats

This commit is contained in:
Alejandro Celaya
2023-01-02 19:28:32 +01:00
parent 49c73a9590
commit 961178fd82
9 changed files with 159 additions and 55 deletions

View File

@@ -46,7 +46,7 @@ class ListTagsCommand extends Command
return map(
$tags,
static fn (TagInfo $tagInfo) => [$tagInfo->tag, $tagInfo->shortUrlsCount, $tagInfo->visitsCount],
static fn (TagInfo $tagInfo) => [$tagInfo->tag, $tagInfo->shortUrlsCount, $tagInfo->visitsSummary->total],
);
}
}