feat: wordpress no avatar url
This commit is contained in:
parent
39a580888e
commit
c6e286bdaa
|
|
@ -89,7 +89,7 @@ export class WordpressProvider
|
|||
})
|
||||
).json();
|
||||
|
||||
const biggestImage = Object.entries(avatar_urls).reduce(
|
||||
const biggestImage = Object.entries(avatar_urls || {}).reduce(
|
||||
(all, current) => {
|
||||
if (all > Number(current[0])) {
|
||||
return all;
|
||||
|
|
|
|||
Loading…
Reference in New Issue