I can upload file already uploaded (Same DID)

Description of the bug: I can upload file already uploaded (Same DID)

Category/Feature it belongs to: Storage

Detailed Steps to Reproduce:

I uploaded a file 3 times in a row

My repository: GitHub - nrs-minhdoan/neross-arcana-dapp
My Live Demo: https://neross.netlify.app

Browser Version: Google Chrome Version 97.0.4692.99 (Official Build) (arm64)

Supporting Material (Screenshot/Video/Logs):

With localhost:3000:

Hey @nrs.andrew,
This is the intended behaviour, when the user uploads the same file, they are not reuploaded and instead return the same DID.
Did you want to allow duplicate file uploads or do have thoughts on where you might find duplication useful?

1 Like

No, I didn’t. I thought it’s a bug but now, I understand it works how. Thank you for answering for me