diff --git a/app/mod/add-widget-quotable/mod.js b/app/mod/add-widget-quotable/mod.js index 2a24a1c..a1adf9c 100644 --- a/app/mod/add-widget-quotable/mod.js +++ b/app/mod/add-widget-quotable/mod.js @@ -41,7 +41,7 @@ } else { const response = await fetch('https://api.quotable.io/quotes/random'); const data = await response.json(); - return data.content; + return data[0].content; } } catch (error) { console.error('Failed to get Quotable', error);