aboutsummaryrefslogtreecommitdiff
path: root/user/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'user/router.go')
-rw-r--r--user/router.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/router.go b/user/router.go
index 8a9ad86..d9fa7e0 100644
--- a/user/router.go
+++ b/user/router.go
@@ -1,5 +1,5 @@
/* openbills - Server for web based Libre Billing Software
- * Copyright (C) 2023 Vidhu Kant Sharma <vidhukant@vidhukant.com>
+ * Copyright (C) 2023-2024 Vidhu Kant Sharma <vidhukant@vidhukant.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,5 +25,7 @@ func Routes(route *gin.RouterGroup) {
g := route.Group("/user")
{
g.GET("/", handleGetUser)
+ g.POST("/logo", handleUploadLogo)
+ g.POST("/signature", handleUploadSignature)
}
}