Skip to content

Conversation

@salgozino
Copy link
Collaborator

To be used only after the user owner of the profile had formally requested.

Copy link
Contributor

@Parsa-Darbouy Parsa-Darbouy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't these user info also pinned in the backup nodes we have? Shouldn't we delete it from there?


# GraphQL endpoint for PoH subgraph
POH_SUBGRAPH_URL = "https://api.studio.thegraph.com/query/61738/proof-of-humanity-mainnet/version/latest"
LOG_FILEPATH = "logs/delete_poh_user_data.log"
Copy link
Contributor

@Parsa-Darbouy Parsa-Darbouy Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an env variable for LOG_FILEPATH, please load and use that. We need the logs to be in /var/log/py-kleros-ipfs

logger.info(f"Found media CIDs - Photo: {photo_cid}, Video: {video_cid}")
# Delete files from Filebase
api = FilebasePinAPI(LOG_FILEPATH)
bucket_name = "kleros"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably this is a correct bucket, but don't we have a poh-v2 bucket? Shouldn't it be deleted from there?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PohV1 profiles are in the kleros bucket.

Maybe we should check in both, you are right

@salgozino
Copy link
Collaborator Author

Aren't these user info also pinned in the backup nodes we have? Shouldn't we delete it from there?

Yes, in the notion page I've defined the steps to unpin from the backup nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants