on settings save, return the new settings.

update the frontend to persist settings to the database.
Using ScrutinyConfigService instead of TreoConfigService.
Using snake case settings in frontend.
Make sure we're using AppConfig type where possible.
This commit is contained in:
Jason Kulatunga
2022-07-23 11:43:12 -07:00
parent 7e672e8b8e
commit 94594db20a
15 changed files with 245 additions and 89 deletions
@@ -28,6 +28,7 @@ func SaveSettings(c *gin.Context) {
}
c.JSON(http.StatusOK, gin.H{
"success": true,
"success": true,
"settings": settings,
})
}