Browse Source

style: prettified

pull/4058/head
Qurban Ahmad 9 months ago
parent
commit
d7794d424f
  1. 7
      apps/api/src/app/admin/admin.service.ts

7
apps/api/src/app/admin/admin.service.ts

@ -436,7 +436,10 @@ export class AdminService {
skip?: number; skip?: number;
take?: number; take?: number;
}): Promise<AdminUsers> { }): Promise<AdminUsers> {
return { users: await this.getUsersWithAnalytics({ skip, take }), count: await this.countWithAnalytics() }; return {
users: await this.getUsersWithAnalytics({ skip, take }),
count: await this.countWithAnalytics()
};
} }
public async patchAssetProfileData({ public async patchAssetProfileData({
@ -658,7 +661,7 @@ export class AdminService {
} }
const usersCountWithAnalytics = await this.prismaService.user.count({ const usersCountWithAnalytics = await this.prismaService.user.count({
where, where
}); });
return usersCountWithAnalytics; return usersCountWithAnalytics;

Loading…
Cancel
Save