From 964e72eb73997ca0718637738e456b44dec232d7 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Mon, 11 May 2020 16:51:10 +0200 Subject: [PATCH] Fix #1 --- client/src/remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/remote.js b/client/src/remote.js index 63565e1..a19c9cc 100644 --- a/client/src/remote.js +++ b/client/src/remote.js @@ -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