File tree 3 files changed +3
-3
lines changed
packages/web/src/app/api/(server) 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export const GET = async (request: NextRequest) => {
19
19
20
20
const getRepos = ( domain : string ) =>
21
21
withAuth ( ( session ) =>
22
- withOrgMembership ( session , domain , async ( orgId ) => {
22
+ withOrgMembership ( session , domain , async ( { orgId } ) => {
23
23
const response = await listRepositories ( orgId ) ;
24
24
return response ;
25
25
} )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const POST = async (request: NextRequest) => {
27
27
28
28
const postSearch = ( request : SearchRequest , domain : string ) =>
29
29
withAuth ( ( session ) =>
30
- withOrgMembership ( session , domain , async ( orgId ) => {
30
+ withOrgMembership ( session , domain , async ( { orgId } ) => {
31
31
const response = await search ( request , orgId ) ;
32
32
return response ;
33
33
} ) )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const POST = async (request: NextRequest) => {
29
29
30
30
const postSource = ( request : FileSourceRequest , domain : string ) =>
31
31
withAuth ( async ( session ) =>
32
- withOrgMembership ( session , domain , async ( orgId ) => {
32
+ withOrgMembership ( session , domain , async ( { orgId } ) => {
33
33
const response = await getFileSource ( request , orgId ) ;
34
34
return response ;
35
35
} ) ) ;
You can’t perform that action at this time.
0 commit comments