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) =>
withAuth((session) =>
withOrgMembership(session, domain, async (orgId) => {
withOrgMembership(session, domain, async ({ orgId }) => {
const response = await listRepositories(orgId);
return response;
})

View file

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

View file

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