fix: Update option key from SelfUseModeEnabled to DemoSiteEnabled in PostSetup function
This commit is contained in:
parent
88f7c0670f
commit
a1f6781c0e
@ -134,7 +134,7 @@ func PostSetup(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
err = model.UpdateOption("SelfUseModeEnabled", boolToString(req.DemoSiteEnabled))
|
||||
err = model.UpdateOption("DemoSiteEnabled", boolToString(req.DemoSiteEnabled))
|
||||
if err != nil {
|
||||
c.JSON(500, gin.H{
|
||||
"success": false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user