From 496cfab1e8867d5a8ff54402b848a6a38d03b1b0 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Thu, 14 Nov 2019 13:39:21 -0500 Subject: Fix simplify APIResponse struct using interface{} Combines APIResponseItem and APIResponseList into one struct. Hopefully this allows for the combination of some response code (a function that sends a APIResponse that can be used by each http method) --- backend/todo.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/todo.txt') diff --git a/backend/todo.txt b/backend/todo.txt index cb074a4..b2d928b 100644 --- a/backend/todo.txt +++ b/backend/todo.txt @@ -1 +1,2 @@ -Add Error responses for incorrect methods +Refactor Response creation +Handle PSV parsing (rm empty string at end, or rm last pipe when creating item) -- cgit v1.1 From 0f7b0118c5a8290ed4d230a8e4bfc96daafea116 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Wed, 27 Nov 2019 14:09:05 -0500 Subject: Add consntructor for APIResponse --- backend/todo.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/todo.txt') diff --git a/backend/todo.txt b/backend/todo.txt index b2d928b..ae57ec0 100644 --- a/backend/todo.txt +++ b/backend/todo.txt @@ -1,2 +1,3 @@ Refactor Response creation Handle PSV parsing (rm empty string at end, or rm last pipe when creating item) +Fix Update (steps != 0) -- cgit v1.1