fix ffmpeg command creation
This commit is contained in:
parent
cdeb266e38
commit
f861758704
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func createFfmpegCommand(r *http.Request) error {
|
|||
|
||||
slog.Info("Got FfmpegCommand Create", "name", name, "data", data)
|
||||
|
||||
_, err = db.Exec(r.Context(), "INSERT INTO ffmpegCommands (name, data) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10)", name, data)
|
||||
_, err = db.Exec(r.Context(), "INSERT INTO ffmpeg_commands (name, data) VALUES ($1,$2)", name, data)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Inserting FfmpegCommand: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue