mirror of
https://github.com/eliasstepanik/filesystem-livesync.git
synced 2026-01-11 21:48:30 +00:00
Merge branch 'vrtmrz:master' into master
This commit is contained in:
commit
bcdc877a1d
@ -169,7 +169,7 @@ async function putDBEntry(note: LoadedEntry, passphrase: string, database: Pouch
|
|||||||
leafid = "h:" + hashedPiece;
|
leafid = "h:" + hashedPiece;
|
||||||
|
|
||||||
//have to make
|
//have to make
|
||||||
const savePiece = await encrypt(piece, passphrase);
|
const savePiece = passphrase != "" ? await encrypt(piece, passphrase) : piece;
|
||||||
|
|
||||||
const d: EntryLeaf = {
|
const d: EntryLeaf = {
|
||||||
_id: leafid,
|
_id: leafid,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user