mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
delete note through its entity instead of manually with SQL, closes #303
This commit is contained in:
@@ -26,11 +26,8 @@ function pad(data) {
|
||||
|
||||
data = Buffer.concat([data, Buffer.from(zeros)]);
|
||||
}
|
||||
else {
|
||||
data = Buffer.from(data);
|
||||
}
|
||||
|
||||
return data;
|
||||
return Buffer.from(data);
|
||||
}
|
||||
|
||||
function encrypt(key, plainText, ivLength = 13) {
|
||||
|
||||
Reference in New Issue
Block a user