Update module gorm.io/driver/postgres to v1.5.5 - autoclosed #9

Closed
renovate wants to merge 5 commits from renovate/all-patch-deps into master
4 changed files with 6 additions and 6 deletions
Showing only changes of commit ceee8ec6b4 - Show all commits

View file

@ -13,7 +13,7 @@ func newHealthHandler() *healthHandler {
return &healthHandler{} return &healthHandler{}
} }
func (h *healthHandler) showHealth(c *gin.Context) { func (h *healthHandler) show(c *gin.Context) {
c.JSON(http.StatusOK, api.DataResponse{Data: gin.H{ c.JSON(http.StatusOK, api.DataResponse{Data: gin.H{
"healthy": true, "healthy": true,
}}) }})

View file

@ -14,7 +14,7 @@ func newInfoHandler(a *appConfig) *infoHandler {
return &infoHandler{appConfig: *a} return &infoHandler{appConfig: *a}
} }
func (h *infoHandler) showInfo(c *gin.Context) { func (h *infoHandler) show(c *gin.Context) {
c.JSON(http.StatusOK, api.DataResponse{Data: gin.H{ c.JSON(http.StatusOK, api.DataResponse{Data: gin.H{
"name": Name, "name": Name,
"version": Version, "version": Version,

View file

@ -16,7 +16,7 @@ func newWebhookInvocationHandler(i *webhookInvocationService, w *webhookService)
return &webhookInvocationHandler{invocationService: *i, webhookService: *w} return &webhookInvocationHandler{invocationService: *i, webhookService: *w}
} }
func (h *webhookInvocationHandler) executeWebhookGeneric(c *gin.Context) { func (h *webhookInvocationHandler) execute(c *gin.Context) {
tokenHeader := c.GetHeader(HeaderWebhookToken) tokenHeader := c.GetHeader(HeaderWebhookToken)
webhookId := c.Param("id") webhookId := c.Param("id")

View file

@ -79,10 +79,10 @@ func Start() {
})) }))
apiPublicGroup := router.Group("/api/v1") apiPublicGroup := router.Group("/api/v1")
apiPublicGroup.GET("/health", healthHandler.showHealth) apiPublicGroup.GET("/health", healthHandler.show)
apiPublicGroup.GET("/info", infoHandler.showInfo) apiPublicGroup.GET("/info", infoHandler.show)
apiPublicGroup.POST("/webhooks/:id", webhookInvocationHandler.executeWebhookGeneric) apiPublicGroup.POST("/webhooks/:id", webhookInvocationHandler.execute)
apiAuthGroup := router.Group("/api/v1", gin.BasicAuth(gin.Accounts{ apiAuthGroup := router.Group("/api/v1", gin.BasicAuth(gin.Accounts{
env.authConfig.adminUser: env.authConfig.adminPassword, env.authConfig.adminUser: env.authConfig.adminPassword,