summaryrefslogtreecommitdiff
path: root/internal/api/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client.go')
-rw-r--r--internal/api/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client.go b/internal/api/client.go
index ec8fa6034..1112efa31 100644
--- a/internal/api/client.go
+++ b/internal/api/client.go
@@ -79,7 +79,7 @@ type Client struct {
user *user.Module // api/v1/user
}
-func (c *Client) Route(r router.Router, m ...gin.HandlerFunc) {
+func (c *Client) Route(r *router.Router, m ...gin.HandlerFunc) {
// create a new group on the top level client 'api' prefix
apiGroup := r.AttachGroup("api")