feat(be/settings): add api for reporting client error
This commit is contained in:
parent
4fd9bd9c33
commit
7577fb0ace
5 changed files with 67 additions and 2 deletions
|
@ -304,6 +304,7 @@ func initHandlers(router *gin.Engine, cfg gocfg.ICfg, deps *depidx.Deps) (*gin.E
|
|||
settingsAPI.OPTIONS("/health", settingsSvc.Health)
|
||||
settingsAPI.GET("/client", settingsSvc.GetClientCfg)
|
||||
settingsAPI.PATCH("/client", settingsSvc.SetClientCfg)
|
||||
settingsAPI.POST("/errors", settingsSvc.ReportError)
|
||||
|
||||
return router, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue