浏览代码

fix: reset channel key in UpdateChannel function

CaIon 1 年之前
父节点
当前提交
9121a593d7
共有 1 个文件被更改,包括 1 次插入0 次删除
  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": "",