diff --git a/internal/runbits/commits_runbit/time.go b/internal/runbits/commits_runbit/time.go index e346c1bdb1..326a3c33fe 100644 --- a/internal/runbits/commits_runbit/time.go +++ b/internal/runbits/commits_runbit/time.go @@ -36,7 +36,7 @@ func ExpandTime(ts *captain.TimeValue, auth *authentication.Auth) (time.Time, er return latest, nil } - if ts != nil && ts.IsPresent() { + if ts == nil || ts.IsPresent() { latest, err := model.FetchLatestTimeStamp(auth) if err != nil { return time.Time{}, errs.Wrap(err, "Unable to fetch latest Platform timestamp")