fix if condition

pull/129/head
Fabian-Lars 2 years ago committed by GitHub
parent 02b0448a46
commit a0d038318e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -299,7 +299,7 @@ export class Store {
client: this.client,
key: toBytesDto(key),
}).then((v) => {
if (v !== null || undefined) {
if (v !== null && v !== undefined) {
return Uint8Array.from(v);
} else {
return null;

Loading…
Cancel
Save