Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 033ed61

Browse files
author
David Cooke
authored
Load reset route
1 parent 1c5a285 commit 033ed61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/api/routes/user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func AddUserRoutes(node *node.Node, ws *restful.WebService) {
2525
}
2626

2727
ws.Route(ws.POST("/").To(Authenticated(u.getInstance, node.Config.ApiKey)))
28+
ws.Route(ws.POST("/reset").To(Authenticated(u.resetInstance, node.Config.ApiKey)))
2829
}
2930

3031
type instanceRequest struct {

0 commit comments

Comments
 (0)