mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
fix: wrong count on user
This commit is contained in:
@ -155,6 +155,7 @@ const getCounts = async ({ user, createdAt }: GetCountsOption) => {
|
||||
OR: [
|
||||
{
|
||||
userId: user.id,
|
||||
teamId: null,
|
||||
deletedAt: {
|
||||
gte: DateTime.now().minus({ days: 30 }).startOf('day').toJSDate(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user