Skip to content

Commit 8553caa

Browse files
authored
fix(database): fix issue with base64Decode (#107)
ISSUES CLOSED: 106
1 parent c8dfea3 commit 8553caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/core/util/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function setBufferImpl(impl) {
6666
*/
6767
export const base64Decode = function (str: string): string | null {
6868
try {
69-
if (BufferImpl()) {
69+
if (BufferImpl) {
7070
return new BufferImpl(str, 'base64').toString('utf8');
7171
} else {
7272
return base64.decodeString(str, /*useWebSafe=*/true);

0 commit comments

Comments
 (0)