This commit is contained in:
Raymonzut
2020-05-11 16:51:10 +02:00
parent 695a6705fc
commit 964e72eb73
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = {
if (res.body.length === 0) {
throw Error("Response body empty")
}
this.post = res.body[0]
this.post = res.body
}
else {
this.posts = res.body