aboutsummaryrefslogtreecommitdiff
path: root/server/router
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 13:00:16 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 13:00:16 +0530
commit0f0e5f7408969fcc4473746919bb0e8aaa89947c (patch)
tree0e5119e9bd8c021aceea9d79a9e5d58040480608 /server/router
parent6baad020ce5037a90d902c8f41f1f37f52419a10 (diff)
half-cleaned the way saving invoices works
Diffstat (limited to 'server/router')
-rw-r--r--server/router/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/router/router.go b/server/router/router.go
index c6ddd65..a31dd52 100644
--- a/server/router/router.go
+++ b/server/router/router.go
@@ -25,7 +25,7 @@ func InitRouter() {
api := myRouter.Group("/api")
items := api.Group("/items")
people := api.Group("/people")
- invoice := api.Group("/invoice")
+ invoice := api.Group("/invoices")
// items API routes
items.GET("/get-all", getAllItems)