Change form key because we're in artist context
[brackets.git] / scrape / seed / seed.go
index f4145df..7425c91 100644 (file)
@@ -25,7 +25,7 @@ func main() {
                }
                for _, trackPage := range tracks.Tracks {
                        for _, artist := range trackPage.Track.Artists {
-                               http.PostForm("http://localhost:8080/artist/add", url.Values{"artist_id": {string(artist.ID)}})
+                               http.PostForm("http://localhost:8080/artist/add", url.Values{"id": {string(artist.ID)}})
                        }
                }
        }