We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8dfea3 commit 8553caaCopy full SHA for 8553caa
src/database/core/util/util.ts
@@ -66,7 +66,7 @@ export function setBufferImpl(impl) {
66
*/
67
export const base64Decode = function (str: string): string | null {
68
try {
69
- if (BufferImpl()) {
+ if (BufferImpl) {
70
return new BufferImpl(str, 'base64').toString('utf8');
71
} else {
72
return base64.decodeString(str, /*useWebSafe=*/true);
0 commit comments