stacks-archive / radiks-server

A server for indexing data in decentralized applications
MIT License
54 stars 19 forks source link

Delete API needs to check for an updated `updatedAt` attribute #29

Open hstove opened 4 years ago

hstove commented 4 years ago

When models are updated with radiks, radiks-server checks to make sure the updatedAt field is bigger than it was before, which is a way of preventing "signature jacking", similar to how nonces are used in blockchains. The delete API doesn't have this functionality right now, and it should.