fix: enforce representation blob ownership and secure SSR access
This commit is contained in:
@@ -293,7 +293,9 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
awaitingSubmissionFromBlob
|
||||
] = await Promise.all([
|
||||
isLPA ? getMyLPACases(lpaId) : getMyCases(loggedInUser),
|
||||
getRepsFromBlob(thisSession.user.id),
|
||||
getRepsFromBlob(thisSession.user.id, {
|
||||
headers: { Cookie: req.headers.cookie || "" }
|
||||
}),
|
||||
getWatchedCases(loggedInUser),
|
||||
getAwaitingSubmissionFromBlob(thisSession.user.id)
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user