Fix tags response typing

cache
Varun Patil 2022-10-07 11:02:41 -07:00
parent 4c684f1aef
commit 5f3323529b
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ trait TimelineQueryTags {
// FETCH all tags
$tags = $query->executeQuery()->fetchAll();
// Post process
foreach($tags as &$row) {
$row["count"] = intval($row["count"]);
}
return $tags;
}
}