Skip to content

Commit a613fba

Browse files
authored
Merge pull request #12 from evrone/fix/ERP-1684/no-blog-post-data
[ERP-1684] Fix validation error when no new_blog_post in user data
2 parents 76f8fd3 + 7151076 commit a613fba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "toggl_python"
3-
version = "0.2.6"
3+
version = "0.2.7"
44
description = "Python wrapper for Toggl API."
55
authors = ["Ivlev Denis <[email protected]>"]
66
readme = "README.md"

toggl_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.6"
1+
__version__ = "0.2.7"
22

33
from .auth import BasicAuth, TokenAuth # noqa: F401
44
from .entities import Dashboard # noqa: F401

toggl_python/entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class User(BaseEntity):
103103
language: str
104104
image_url: HttpUrl
105105
sidebar_piechart: bool
106-
new_blog_post: Dict[str, Any]
106+
new_blog_post: Dict[str, Any] = None
107107
send_product_emails: bool
108108
send_weekly_report: bool
109109
send_timer_notifications: bool

0 commit comments

Comments
 (0)