mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-28 01:58:12 -07:00
Move AnnounceResponse and ScrapeResponse to models
This commit is contained in:
+1
-1
@@ -36,5 +36,5 @@ func (t *Tracker) HandleScrape(scrape *models.Scrape, w Writer) error {
|
||||
torrents = append(torrents, torrent)
|
||||
}
|
||||
|
||||
return w.WriteScrape(&ScrapeResponse{torrents})
|
||||
return w.WriteScrape(&models.ScrapeResponse{torrents})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user