Skip to content

Commit

Permalink
Update changes.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpq committed Jan 31, 2025
1 parent ec5fd3c commit bdeca1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tuple/changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ func readChanges(

if startTime != "" {
layout := "2006-01-02T15:04:05Z"

parsedTime, err := time.Parse(layout, startTime)
if err != nil {
return nil, fmt.Errorf("failed to parse startTime: %w", err)
}

startTimeObj = &parsedTime
}

for {

body := &client.ClientReadChangesRequest{
Type: selectedType,
}
Expand Down

0 comments on commit bdeca1b

Please sign in to comment.