Skip to content

Commit

Permalink
Moved to snake_case
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Feb 25, 2024
1 parent 13ecc56 commit ec1e1cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/views/save.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (v *Views) SaveFunc(c echo.Context) error {
recording := ""
website := ""

if c.FormValue("record") == "on" {
if c.FormValue("record_checkbox") == "on" {
recording = c.FormValue("save_path")
}

Expand Down
2 changes: 1 addition & 1 deletion server/views/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (v *Views) StartFunc(c echo.Context) error {
var errorMessages []string
go func() {
defer wg.Done()
if c.FormValue("record") == "on" {
if c.FormValue("record_checkbox") == "on" {
recorderTransporter := transporter
recorderTransporter.Payload = rStart
wsResponse, err := v.wsHelper(server.Recorder, recorderTransporter)
Expand Down
2 changes: 1 addition & 1 deletion server/views/startUnique.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (v *Views) StartUniqueFunc(c echo.Context) error {
var errorMessages []string
go func() {
defer wg.Done()
if c.FormValue("record") == "on" {
if c.FormValue("record_checkbox") == "on" {
recorderTransporter := transporter
recorderTransporter.Payload = rStart
var wsResponse commonTransporter.ResponseTransporter
Expand Down

0 comments on commit ec1e1cf

Please sign in to comment.