mirror of
https://github.com/YGGverse/btracker-gemini.git
synced 2026-03-31 17:15:30 +00:00
fix method names
This commit is contained in:
parent
d9edf977c7
commit
9a5040c1f5
1 changed files with 2 additions and 2 deletions
|
|
@ -357,7 +357,7 @@ fn list(state: &State, keyword: Option<&str>, page: Option<usize>) -> Result<Str
|
|||
format::files(&i),
|
||||
state
|
||||
.scrape
|
||||
.scrape(i.info_hash.0)
|
||||
.get(i.info_hash.0)
|
||||
.map(|s| format!(" ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
||||
.unwrap_or_default()
|
||||
));
|
||||
|
|
@ -432,7 +432,7 @@ fn info(state: &State, torrent: Torrent) -> Result<String> {
|
|||
format::files(&i),
|
||||
state
|
||||
.scrape
|
||||
.scrape(i.info_hash.0)
|
||||
.get(i.info_hash.0)
|
||||
.map(|s| format!(" ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
||||
.unwrap_or_default()
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue