Add includeTeams param for fetching websites.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run

This commit is contained in:
Mike Cao 2025-09-12 10:15:13 -07:00
parent 433ce98719
commit 9ccafc390a
6 changed files with 34 additions and 36 deletions

View file

@ -7,6 +7,7 @@ import { parseRequest, getQueryFilters } from '@/lib/request';
export async function GET(request: Request) {
const schema = z.object({
...pagingParams,
includeTeams: z.string().optional(),
});
const { auth, query, error } = await parseRequest(request, schema);