condense early return
This commit is contained in:
parent
754f039200
commit
3cd5411d12
3
main.go
3
main.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue