Commit a1f6781c by CaIon

fix: Update option key from SelfUseModeEnabled to DemoSiteEnabled in PostSetup function

parent 88f7c067
...@@ -134,7 +134,7 @@ func PostSetup(c *gin.Context) { ...@@ -134,7 +134,7 @@ func PostSetup(c *gin.Context) {
return return
} }
err = model.UpdateOption("SelfUseModeEnabled", boolToString(req.DemoSiteEnabled)) err = model.UpdateOption("DemoSiteEnabled", boolToString(req.DemoSiteEnabled))
if err != nil { if err != nil {
c.JSON(500, gin.H{ c.JSON(500, gin.H{
"success": false, "success": false,
......
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