Change ProofFormat to strings

This commit is contained in:
Yarmo Mackenbach 2021-04-16 10:54:28 +02:00
parent 7cf509b6f5
commit e99a0307bf
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -40,8 +40,8 @@ const ProofAccess = {
Object.freeze(ProofAccess) Object.freeze(ProofAccess)
const ProofFormat = { const ProofFormat = {
JSON: 0, JSON: 'json',
TEXT: 1, TEXT: 'text',
} }
Object.freeze(ProofFormat) Object.freeze(ProofFormat)