diff --git a/internal/statsapi/patch.go b/internal/statsapi/patch.go index fa0495c..50d1a58 100644 --- a/internal/statsapi/patch.go +++ b/internal/statsapi/patch.go @@ -1,9 +1,5 @@ package statsapi -import ( - "errors" -) - type DiffPatchParams struct { GamePk string StartTimecode string @@ -22,13 +18,3 @@ type instruction struct { Value any From string } - -func (p *Patch) Timestamp() (string, error) { - for _, d := range p.Diff { - if d.Op == "replace" && d.Path == "/metaData/timeStamp" { - return d.Value.(string), nil - } - } - - return "", errors.New("could not find replacement timestamp") -}