summaryrefslogtreecommitdiff
path: root/transporter
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-29 20:45:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-29 20:45:43 +0530
commit68629768cbb7c86fd4b118e7d555450297f3fb8a (patch)
treee5bb06635ddf50bc58e25bae931ac453a28f844a /transporter
parent7ee07197f4fc5806e72a1aefd49c7a448c600cf4 (diff)
moved refresh mechanism to package auth
Diffstat (limited to 'transporter')
-rw-r--r--transporter/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/transporter/router.go b/transporter/router.go
index 769d7fa..8bf7728 100644
--- a/transporter/router.go
+++ b/transporter/router.go
@@ -23,7 +23,7 @@ import (
)
func Routes(route *gin.Engine) {
- t := route.Group("/transport", util.Authorize())
+ t := route.Group("/transporter", util.Authorize())
{
t.GET("/all", getAll)
t.DELETE("/:transportId", remove)