Change all occurences of .substr(...) to .substring(...) (#1479)

This commit is contained in:
Jaco
2022-05-09 12:50:13 +03:00
committed by GitHub
parent 1a57abde6e
commit 9ae4b1066e
10 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export function createDecode ({ coder, ipfs }: Config, validate: ValidateFn): De
return coder.decode(
ipfs && ipfsCompat
? value.substr(1)
? value.substring(1)
: value
);
};