From a8e055d0945ae89d86bb953e1419d79a8bb97c8c Mon Sep 17 00:00:00 2001 From: filifa Date: Sun, 14 Jul 2024 00:17:53 -0500 Subject: [PATCH] fallback to live feed if we can't get diffpatch --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3f8e6a3..97343f6 100644 --- a/main.go +++ b/main.go @@ -78,7 +78,7 @@ func extractPatches(diffPatch []byte) ([]jsonpatch.Patch, error) { func updateFeed(feedResp []byte, gamePk, ts, updateId string) ([]byte, error) { diffPatchResp, err := statsapi.RequestDiffPatch(gamePk, ts, updateId) if err != nil { - return nil, err + return statsapi.RequestFeed(gamePk) } patches, err := extractPatches(diffPatchResp)