Skip to content

Commit 390d92d

Browse files
Fix build
1 parent bbf8b9b commit 390d92d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/web/src/app/api/(server)/repos/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const GET = async (request: NextRequest) => {
1919

2020
const getRepos = (domain: string) =>
2121
withAuth((session) =>
22-
withOrgMembership(session, domain, async (orgId) => {
22+
withOrgMembership(session, domain, async ({ orgId }) => {
2323
const response = await listRepositories(orgId);
2424
return response;
2525
})

packages/web/src/app/api/(server)/search/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const POST = async (request: NextRequest) => {
2727

2828
const postSearch = (request: SearchRequest, domain: string) =>
2929
withAuth((session) =>
30-
withOrgMembership(session, domain, async (orgId) => {
30+
withOrgMembership(session, domain, async ({ orgId }) => {
3131
const response = await search(request, orgId);
3232
return response;
3333
}))

packages/web/src/app/api/(server)/source/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const POST = async (request: NextRequest) => {
2929

3030
const postSource = (request: FileSourceRequest, domain: string) =>
3131
withAuth(async (session) =>
32-
withOrgMembership(session, domain, async (orgId) => {
32+
withOrgMembership(session, domain, async ({ orgId }) => {
3333
const response = await getFileSource(request, orgId);
3434
return response;
3535
}));

0 commit comments

Comments
 (0)