mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 16:49:58 +01:00
server-ts: Fix errors in abstract_becca_entity
This commit is contained in:
@@ -24,7 +24,7 @@ function md5(content: crypto.BinaryLike) {
|
||||
return crypto.createHash('md5').update(content).digest('hex');
|
||||
}
|
||||
|
||||
function hashedBlobId(content: string) {
|
||||
function hashedBlobId(content: string | Buffer) {
|
||||
if (content === null || content === undefined) {
|
||||
content = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user