mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Segment editing.
This commit is contained in:
parent
fba7e12c36
commit
2dbcf63eeb
22 changed files with 306 additions and 42 deletions
|
|
@ -20,7 +20,7 @@ export async function getWebsiteSegment(websiteId: string, segmentId: string): P
|
|||
}
|
||||
|
||||
export async function getWebsiteSegments(websiteId: string, type: string): Promise<Segment[]> {
|
||||
return prisma.client.Segment.findMany({
|
||||
return prisma.pagedQuery('segment', {
|
||||
where: { websiteId, type },
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue