mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
many small issues found by intellij analysis
This commit is contained in:
@@ -29,6 +29,9 @@ function toBase64(plainText) {
|
||||
return Buffer.from(plainText).toString('base64');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Buffer}
|
||||
*/
|
||||
function fromBase64(encodedText) {
|
||||
return Buffer.from(encodedText, 'base64');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user