return fmt.Errorf("gfitClient.SetSteps(%d) = %v", summary.Summary.Steps, err)
}
+ if err := gfitClient.SetCalories(ctx, summary.Summary.CaloriesOut, tm); err != nil {
+ return fmt.Errorf("gfitClient.SetCalories(%d) = %v", summary.Summary.CaloriesOut, err)
+ }
+
return nil
}