aboutsummaryrefslogtreecommitdiff
path: root/server/router/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/router/router.go')
-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 5b79fa4..c6ddd65 100644
--- a/server/router/router.go
+++ b/server/router/router.go
@@ -36,7 +36,7 @@ func InitRouter() {
people.POST("/register", registerPerson)
// invoice API routes
- invoice.POST("/preview", previewInvoice)
+ invoice.POST("/preview", registerInvoice)
myRouter.Run(":8080")
}