Skip to content

Commit

Permalink
Fixed broken venue create
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Nov 13, 2024
1 parent 0242f51 commit e9f8981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/venue.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func AddVenue(venue models.Venue) error {
}

_, err = tx.Exec(`INSERT INTO venue_configuration (venue_id, has_dual_monitor, has_led_lights, has_wled_lights, tts_voice, has_smartboard,
smartboard_uuid, smartboard_button_number) VALUES (?, ?, ?, ?, ?, ?)`, venueID, venue.Config.HasDualMonitor, venue.Config.HasLEDLights,
smartboard_uuid, smartboard_button_number) VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, venueID, venue.Config.HasDualMonitor, venue.Config.HasLEDLights,
venue.Config.HasWLEDLights, venue.Config.TTSVoice, venue.Config.HasSmartboard, venue.Config.SmartboardUUID, venue.Config.SmartboardButtonNumber)
if err != nil {
tx.Rollback()
Expand Down

0 comments on commit e9f8981

Please sign in to comment.