Skip to content

Commit

Permalink
Fix response for listing requests (#5049)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi authored Mar 14, 2024
1 parent f8f01f6 commit 4bbd34c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ export async function handleListAccessRequests(req: Request, params: Params<stri
const projectId = params.id
ensure(projectId != null, 'project id is null', Status.BAD_REQUEST)

const requests = await listProjectAccessRequests({
return listProjectAccessRequests({
projectId: projectId,
userId: user.user_id,
})
return json(requests, { headers: { 'cache-control': 'no-cache' } })
}

0 comments on commit 4bbd34c

Please sign in to comment.