Fix cast in query
All checks were successful
Build / build (push) Successful in 2m34s

This commit is contained in:
Sebastiaan de Schaetzen 2025-02-10 13:25:37 +01:00
parent b9079e1e55
commit 50ce126ed6

View File

@ -208,7 +208,7 @@ func (w *WebClient) FetchVideoMetadata(db *sql.DB) error {
log.Printf("Fetching video metadata...")
for {
// Fetch the next record from the database
row := db.QueryRow("select id, url from videos where cast is null limit 1")
row := db.QueryRow("select id, url from videos where `cast` is null limit 1")
var id int
var href string
err := row.Scan(&id, &href)