fix: enforce representation blob ownership and secure SSR access
This commit is contained in:
@@ -304,7 +304,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
break;
|
||||
case "myRepresentations":
|
||||
const myRepresentations = await getRepsFromBlob(
|
||||
thisSession.user.id
|
||||
thisSession.user.id,
|
||||
{ headers: { Cookie: req.headers.cookie || "" } }
|
||||
);
|
||||
|
||||
const myRepresentationsDetails = await getDetails(
|
||||
|
||||
Reference in New Issue
Block a user