Explorar o código

fix: reset channel key in UpdateChannel function

CaIon hai 8 meses
pai
achega
93e7675bc3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      controller/channel.go

+ 1 - 0
controller/channel.go

@@ -539,6 +539,7 @@ func UpdateChannel(c *gin.Context) {
 		})
 		return
 	}
+	channel.Key = ""
 	c.JSON(http.StatusOK, gin.H{
 		"success": true,
 		"message": "",