js: correct decrypt result info (2)

--

* the permittedOperation from last commit ended up in the wrong place.
  sign does not return an additional 'info' object.
This commit is contained in:
Maximilian Krambach 2018-08-17 18:25:57 +02:00
parent fff365ffc5
commit 3cbafb97ec

View File

@ -127,7 +127,8 @@ export const permittedOperations = {
'data': 'string',
'base64': 'boolean',
'mime': 'boolean',
'signatures': 'object'
'signatures': 'object',
'info': 'object'
}
}
},
@ -166,8 +167,7 @@ export const permittedOperations = {
type: ['signature', 'ciphertext'],
data: {
'data': 'string',
'base64':'boolean',
'info': 'object'
'base64':'boolean'
}
}