fix ffmpeg command creation

This commit is contained in:
Samuel Lorch 2024-06-23 22:51:54 +02:00
parent cdeb266e38
commit f861758704

View file

@ -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)
}