fallback to feed if patch fails to apply

This commit is contained in:
filifa 2024-07-14 17:14:10 -05:00
parent 435f598834
commit 3198577f50
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func updateFeed(feedResp []byte, gamePk, ts, updateId string) ([]byte, error) {
for _, patch := range patches { for _, patch := range patches {
feedResp, err = patch.Apply(feedResp) feedResp, err = patch.Apply(feedResp)
if err != nil { if err != nil {
break return statsapi.RequestFeed(gamePk)
} }
} }