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

Commit

Permalink
Load reset route
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cooke committed Aug 5, 2020
1 parent 1c5a285 commit 033ed61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/routes/user.go
Expand Up @@ -25,6 +25,7 @@ func AddUserRoutes(node *node.Node, ws *restful.WebService) {
}

ws.Route(ws.POST("/").To(Authenticated(u.getInstance, node.Config.ApiKey)))
ws.Route(ws.POST("/reset").To(Authenticated(u.resetInstance, node.Config.ApiKey)))
}

type instanceRequest struct {
Expand Down

0 comments on commit 033ed61

Please sign in to comment.