We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd6b99 commit a156093Copy full SHA for a156093
packages/thirdweb/src/utils/ens/avatar.ts
@@ -74,7 +74,7 @@ async function isImageUri(options: ParseAvatarOptions): Promise<boolean> {
74
return false;
75
}
76
// fail in NodeJS, since the error is not cors but any other network issue
77
- if (Object.hasOwn(globalThis, "Image")) {
+ if (!Object.hasOwn(globalThis, "Image")) {
78
79
80
// in case of cors, use image api to validate if given url is an actual image
0 commit comments