really fix lock

This commit is contained in:
shoopea
2025-12-28 16:32:44 +01:00
parent d92380cccb
commit ee94b077b4
2 changed files with 4 additions and 5 deletions

1
api.go
View File

@@ -219,7 +219,6 @@ func ApiAppAdd(c *gin.Context) {
}
cfg.Apps = append(cfg.Apps, app)
CfgUnlock()
err := cfg.Save(false)
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{