Skip to content

Commit

Permalink
[445] fix: failed to convert body weight strength workout (#446)
Browse files Browse the repository at this point in the history
* [445] fix: failed to convert body weight strength workout

* update version and release notes
  • Loading branch information
philosowaffle authored Feb 25, 2023
1 parent d564c6e commit 611e5d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public static class Constants
public const string ConsoleAppName = "p2g_console";
public const string ApiName = "p2g_api";
public const string WebUIName = "p2g_webui";
public const string AppVersion = "3.4.0";
public const string AppVersion = "3.4.1";
}
}
17 changes: 9 additions & 8 deletions src/Common/Dto/Peloton/CompletedMovementsSummaryData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public record RepetitionSummaryData

public record Weight
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public WeightCategory Weight_Category { get; init; }
//[JsonConverter(typeof(JsonStringEnumConverter))]
//public WeightCategory Weight_Category { get; init; }
public WeightData Weight_Data { get; init; }
}

Expand All @@ -56,9 +56,10 @@ public record WeightData
public string Weight_Unit { get; init; }
}

public enum WeightCategory : byte
{
Light = 1,
Medium = 2,
Heavy = 3
}
//public enum WeightCategory : byte
//{
// Light = 1,
// Medium = 2,
// Heavy = 3,
// Body_Weight = 4,
//}
17 changes: 1 addition & 16 deletions vNextReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/philosowaffle) <span class="badge-buymeacoffee"><a href="https://www.buymeacoffee.com/philosowaffle" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span>
---

## Features

- [#432] General Support for Garmin accounts protected by Two Step Verification
- WebUI - New setting added to enable 2FA
- Console (manual) - New setting added to enable 2FA
- Headless (automatic sync) - Does not support 2FA
- GitHub Action - Does not support 2FA
- [#438] On startup log path to config file being used
- [#436] Add Exercise mapping for Strength and Core Workouts (including weight & rep data when available)

## Fixes

- [#430] Fixed where error thrown for classes with `*` in the title

## Housekeeping

- [#434] Dependency Bumps
- [#435] More Dependency Bumps
- [#445] failed to convert body weight strength workout

0 comments on commit 611e5d3

Please sign in to comment.