mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Removed getMessage from errors.
This commit is contained in:
parent
be319322c0
commit
7bb89b28be
3 changed files with 6 additions and 6 deletions
|
|
@ -51,11 +51,11 @@ export async function getUsers(
|
|||
criteria: UserFindManyArgs,
|
||||
pageParams?: PageParams,
|
||||
): Promise<PageResult<User[]>> {
|
||||
const { query } = pageParams;
|
||||
const { search } = pageParams;
|
||||
|
||||
const where: Prisma.UserWhereInput = {
|
||||
...criteria.where,
|
||||
...prisma.getSearchParameters(query, [{ username: 'contains' }]),
|
||||
...prisma.getSearchParameters(search, [{ username: 'contains' }]),
|
||||
deletedAt: null,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue