Skip to content

Commit d33d521

Browse files
committed
another fix
1 parent 8adb62c commit d33d521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocket-backend/internal/server/run_handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (s *Server) UploadRunHandler(c *gin.Context) {
3535
return
3636
}
3737

38-
message := "Completed a " + fmt.Sprintf("%.2f", runData.Distance) + " km run in " + fmt.Sprintf("%.2f", runData.Duration) + " minutes"
38+
message := "Completed a " + fmt.Sprintf("%.2f", runData.Distance) + " km run in " + runData.Duration + " minutes"
3939
err = s.db.SaveActivity(userUUID, message)
4040

4141
c.JSON(http.StatusOK, gin.H{"message": "Run data uploaded successfully"})

0 commit comments

Comments
 (0)