aboutsummaryrefslogtreecommitdiff
path: root/server/router/items.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-08 11:35:30 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-08 11:35:30 +0530
commit9d941b5d99621bc98df0be3002aa7121f98e7a56 (patch)
tree1ad27c269dc1d0ea98cf688df30df396b6acd5f2 /server/router/items.go
parent6167f02d9dee6028987bef53fe658904d47e2d3f (diff)
Added basic functionality to send the invoice data to server
Diffstat (limited to 'server/router/items.go')
-rw-r--r--server/router/items.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/router/items.go b/server/router/items.go
index 82f86ec..ba5f172 100644
--- a/server/router/items.go
+++ b/server/router/items.go
@@ -16,7 +16,6 @@ import (
db "github.com/MikunoNaka/openbills/database"
)
-// items API functions
func getAllItems(ctx *gin.Context) {
ctx.Header("Content-Type", "application/json")
ctx.JSON(http.StatusOK, db.GetAllItems())