Commit 9121a593 by CaIon

fix: reset channel key in UpdateChannel function

parent d084083e
...@@ -539,6 +539,7 @@ func UpdateChannel(c *gin.Context) { ...@@ -539,6 +539,7 @@ func UpdateChannel(c *gin.Context) {
}) })
return return
} }
channel.Key = ""
c.JSON(http.StatusOK, gin.H{ c.JSON(http.StatusOK, gin.H{
"success": true, "success": true,
"message": "", "message": "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment