Skip to content

Commit

Permalink
added PluginPgsServer to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jan 22, 2024
1 parent 04ec367 commit 2a7fbce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/UpdateSettingsController.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func UpdateSettings(c echo.Context) error {
setting.FFmpegVp9Width = validation.FFmpegVp9Width
setting.FFmpegH264Height = validation.FFmpegH264Height
setting.FFmpegH264Width = validation.FFmpegH264Width
setting.PluginPgsServer = validation.PluginPgsServer
if res := inits.DB.Save(&setting); res.Error != nil {
log.Fatalln("Failed to save settings", res.Error)
return c.NoContent(http.StatusInternalServerError)
Expand Down

0 comments on commit 2a7fbce

Please sign in to comment.