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 39a5808 commit c6e286bCopy full SHA for c6e286b
libraries/nestjs-libraries/src/integrations/social/wordpress.provider.ts
@@ -89,7 +89,7 @@ export class WordpressProvider
89
})
90
).json();
91
92
- const biggestImage = Object.entries(avatar_urls).reduce(
+ const biggestImage = Object.entries(avatar_urls || {}).reduce(
93
(all, current) => {
94
if (all > Number(current[0])) {
95
return all;
0 commit comments