Fix user list
This commit is contained in:
@@ -193,7 +193,7 @@ async function renderarticles(){
|
||||
);
|
||||
|
||||
let articleout = "";
|
||||
for (const article of articles) {
|
||||
for (const article of articles.Articles) {
|
||||
articleout += template.replace("__TEMPLATE_ARTICLE_TITLE__", article.Title).replace("__TEMPLATE_ARTICLE_AUTHOR__", article.WrittenByName).replace("__TEMPLATE_ARTICLE_DATE__", article.WrittenAt).replace("__TEMPLATE_ARTICLE_BODY__", article.Body)
|
||||
}
|
||||
document.getElementById("articleslist").innerHTML = articleout;
|
||||
|
Reference in New Issue
Block a user