condense early return

This commit is contained in:
filifa committed 2024-07-14 00:15:40 -05:00
1 parent 754f039200
commit 3cd5411d12
1 file changed
+1 -2
+1 -2
View File
@@ -83,8 +83,7 @@ func updateFeed(feedResp []byte, gamePk, ts, updateId string) ([]byte, error) {
patches, err := extractPatches(diffPatchResp)
if err != nil {
feedResp, err = statsapi.RequestFeed(gamePk)
return feedResp, err
return statsapi.RequestFeed(gamePk)
}
for _, patch := range patches {