From 2e08cb8eecb37c6581074667265d446dbf436576 Mon Sep 17 00:00:00 2001 From: John Darragh Date: Thu, 8 Oct 2020 10:30:48 -0700 Subject: [PATCH 1/2] Fix web api call from client for inserting suggestion --- client/src/services/suggestion-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/services/suggestion-service.js b/client/src/services/suggestion-service.js index a7ec2b2e6..86effc070 100644 --- a/client/src/services/suggestion-service.js +++ b/client/src/services/suggestion-service.js @@ -21,7 +21,7 @@ export const getById = async (id) => { export const post = async (correction) => { const response = await axios.post(baseUrl, { - correction, + ...correction, }); return response.data; }; From 642188eb165af463b2fcb1db34299ad5aad748b5 Mon Sep 17 00:00:00 2001 From: John Darragh Date: Thu, 8 Oct 2020 10:41:10 -0700 Subject: [PATCH 2/2] Release 1.0.24 --- client/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 92dce3039..d7cbb6f98 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "food-oasis-client", "description": "React Client for Food Oasis", - "version": "1.0.23", + "version": "1.0.24", "author": "Hack for LA", "license": "GPL-2.0", "private": true, diff --git a/package.json b/package.json index 516ba2bb9..157d58667 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foodoasis", - "version": "1.0.23", + "version": "1.0.24", "author": "Hack for LA", "description": "Web API Server for Food Oasis", "main": "server.js",