Skip to content

Commit

Permalink
Fix social links key regression (#55)
Browse files Browse the repository at this point in the history
* Fix invalid social links key

* Bump project version

* Update changelog
  • Loading branch information
Jonxslays committed Nov 28, 2023
1 parent 8cff1ec commit c17e121
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v0.9.1 (Nov 2023)

## Bugfixes

- Fix invalid key regression for social links.

---

# v0.9.0 (Nov 2023)

## Additions
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wom.py"
version = "0.9.0"
version = "0.9.1"
description = "An asynchronous wrapper for the Wise Old Man API."
authors = ["Jonxslays"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion wom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from typing import Final

__packagename__: Final[str] = "wom.py"
__version__: Final[str] = "0.9.0"
__version__: Final[str] = "0.9.1"
__author__: Final[str] = "Jonxslays"
__copyright__: Final[str] = "2023-present Jonxslays"
__description__: Final[str] = "An asynchronous wrapper for the Wise Old Man API."
Expand Down
2 changes: 1 addition & 1 deletion wom/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def deserialize_group_details(self, data: DictT) -> models.GroupDetail:
details.verification_code = None
details.group = self.deserialize_group(data)
details.memberships = [self.deserialize_group_membership(m) for m in data["memberships"]]
details.social_links = self.deserialize_social_links(data["links"])
details.social_links = self.deserialize_social_links(data["socialLinks"])
return details

@serializer_guard
Expand Down

0 comments on commit c17e121

Please sign in to comment.