Remove base64-arraybuffer
This commit is contained in:
parent
afc80650e7
commit
ec03db4db6
8 changed files with 32 additions and 33 deletions
|
@ -1,4 +1,3 @@
|
|||
import base64 from 'base64-arraybuffer';
|
||||
import createReducer from 'utils/createReducer';
|
||||
import * as actions from './actions';
|
||||
|
||||
|
@ -72,7 +71,7 @@ export function setCert(fileName, cert) {
|
|||
return {
|
||||
type: actions.SET_CERT,
|
||||
fileName,
|
||||
cert: base64.encode(cert)
|
||||
cert: cert
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -80,6 +79,6 @@ export function setKey(fileName, key) {
|
|||
return {
|
||||
type: actions.SET_KEY,
|
||||
fileName,
|
||||
key: base64.encode(key)
|
||||
key: key
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue