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