CodeChain-io/codechain-indexer

Do not expose createdAt and updatedAt

Opened this issue · 2 comments

For instance, The result of https://corgi.codechain.io/explorer/api/account/wccqxv73gy53dexhzh6qa4v768tw9m7sn7kxvlw6r0a is

{"address":"wccqxv73gy53dexhzh6qa4v768tw9m7sn7kxvlw6r0a","balance":"0","seq":0,"createdAt":"2019-04-10T14:26:20.730Z","updatedAt":"2019-04-15T03:58:35.931Z"}

createdAt and updatedAt are meaningless. It's just an internal time that the data are indexed. Please do not expose them.

Thanks for filing this issue.

@cubismic Would you fix it?