Short url visits not count wheregoes
This commit is contained in:
parent
660294313e
commit
38e8dc801e
@ -17,7 +17,8 @@ class ShortUrlVisitDao(DbModelDaoABC[ShortUrlVisit]):
|
|||||||
result = await self._db.select_map(
|
result = await self._db.select_map(
|
||||||
f"""SELECT COUNT(*) FROM {self._table_name}
|
f"""SELECT COUNT(*) FROM {self._table_name}
|
||||||
WHERE shortUrlId = {fid}
|
WHERE shortUrlId = {fid}
|
||||||
AND deleted = FALSE"""
|
AND deleted = FALSE
|
||||||
|
AND client NOT LIKE '%wheregoes%'"""
|
||||||
)
|
)
|
||||||
if result is None or len(result) == 0:
|
if result is None or len(result) == 0:
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user