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 5a6bbd7 commit 3efbd6dCopy full SHA for 3efbd6d
packages/relay/src/lib/validators/types.ts
@@ -43,7 +43,6 @@ export const TYPES = {
43
test: (param: any) => {
44
if (Object.prototype.toString.call(param) === '[object Object]') {
45
if (Object.prototype.hasOwnProperty.call(param, 'blockHash')) {
46
- // if (param.hasOwnProperty('blockHash')) {
47
return validateSchema(OBJECTS_VALIDATIONS.blockHashObject, param);
48
}
49
return validateSchema(OBJECTS_VALIDATIONS.blockNumberObject, param);
0 commit comments