diff --git a/lib/app.js b/lib/app.js index f034e711..9208b086 100644 --- a/lib/app.js +++ b/lib/app.js @@ -136,7 +136,7 @@ const MAPPINGS = { screenshots: { path: ['ds:5', 1, 2, 78, 0], fun: (screenshots) => { - if (screenshots === null) return []; + if (!screenshots?.length) return []; return screenshots.map(R.path([3, 2])); } },