typo
Cette révision appartient à :
Parent
8770853477
révision
c875283141
1 fichiers modifiés avec 1 ajouts et 1 suppressions
2
main.go
2
main.go
|
@ -82,7 +82,7 @@ func singleapiHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
vars := mux.Vars(r)
|
vars := mux.Vars(r)
|
||||||
id := vars["id"]
|
id := vars["id"]
|
||||||
b := Record{Category: "_", Records: []Records{}}
|
b := Record{Records: []Records{}}
|
||||||
rows, err := dbHandle.Query("select torrent_id, torrent_name, torrent_hash from torrents where torrent_id = ? ORDER BY torrent_id DESC", html.EscapeString(id))
|
rows, err := dbHandle.Query("select torrent_id, torrent_name, torrent_hash from torrents where torrent_id = ? ORDER BY torrent_id DESC", html.EscapeString(id))
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
var id, name, hash, magnet string
|
var id, name, hash, magnet string
|
||||||
|
|
Référencer dans un nouveau ticket