mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 06:29:53 +01:00
Remove on dropped
This commit is contained in:
10
schaffer.go
10
schaffer.go
@@ -185,7 +185,15 @@ func FetchProgress(animeId, userId int64, username string, progress int) (int, t
|
||||
if newProgress != -1 {
|
||||
return newProgress, updated, malApiStatusC, err
|
||||
}
|
||||
// has no progress or dropped
|
||||
// check dropped
|
||||
newProgress, updated, err = fetchProgressOnState(animeId, userId, progress, username, malApiStatusD)
|
||||
if err != nil {
|
||||
return newProgress, updated, "", err
|
||||
}
|
||||
if newProgress != -1 {
|
||||
return newProgress, updated, malApiStatusD, err
|
||||
}
|
||||
// has no progress or PTW
|
||||
return 0, updated, "", nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user