mirror of
https://github.com/eliasstepanik/filesystem-livesync.git
synced 2026-01-10 21:18:31 +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;
|
||||
|
||||
//have to make
|
||||
const savePiece = await encrypt(piece, passphrase);
|
||||
const savePiece = passphrase != "" ? await encrypt(piece, passphrase) : piece;
|
||||
|
||||
const d: EntryLeaf = {
|
||||
_id: leafid,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user