i did a stupid

This commit is contained in:
James Shiffer 2020-06-12 12:13:43 -07:00
parent 06ae356c41
commit d6e729b440

View File

@ -30,7 +30,7 @@
});
const json = await res.json();
if (json.message) {
alert(message);
alert(json.message);
} else if (Array.isArray(json)) {
article.comments = json;
author = content = '';