Fix build

This commit is contained in:
bkellam 2025-02-18 11:37:52 -08:00
parent bbf8b9be86
commit 390d92db92
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ export const GET = async (request: NextRequest) => {
const getRepos = (domain: string) => const getRepos = (domain: string) =>
withAuth((session) => withAuth((session) =>
withOrgMembership(session, domain, async (orgId) => { withOrgMembership(session, domain, async ({ orgId }) => {
const response = await listRepositories(orgId); const response = await listRepositories(orgId);
return response; return response;
}) })

View file

@ -27,7 +27,7 @@ export const POST = async (request: NextRequest) => {
const postSearch = (request: SearchRequest, domain: string) => const postSearch = (request: SearchRequest, domain: string) =>
withAuth((session) => withAuth((session) =>
withOrgMembership(session, domain, async (orgId) => { withOrgMembership(session, domain, async ({ orgId }) => {
const response = await search(request, orgId); const response = await search(request, orgId);
return response; return response;
})) }))

View file

@ -29,7 +29,7 @@ export const POST = async (request: NextRequest) => {
const postSource = (request: FileSourceRequest, domain: string) => const postSource = (request: FileSourceRequest, domain: string) =>
withAuth(async (session) => withAuth(async (session) =>
withOrgMembership(session, domain, async (orgId) => { withOrgMembership(session, domain, async ({ orgId }) => {
const response = await getFileSource(request, orgId); const response = await getFileSource(request, orgId);
return response; return response;
})); }));