Skip to content

Commit

Permalink
2023.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pantherale0 committed Dec 19, 2023
1 parent c7abdc1 commit 4523bc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyroostermoney/child/money_pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def convert_response(raw: dict, session: RoosterSession, child) -> list['Pot']:
image=pot["customLedgerMetadata"].get("imageUrl", ""),
enabled=True, # custom pots enabled by default
value=pot["availableBalance"]["amount"],
target=pot["customLedgerMetadata"]["upperLimit"]["amount"],
target=pot["customLedgerMetadata"].get("upperLimit", {}).get("amount", 0),
ledger_type=PotLedgerTypes.CUSTOM,
last_updated=pot["updated"],
session=session,
Expand Down
8 changes: 4 additions & 4 deletions pyroostermoney/const.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# pylint: disable=line-too-long
"""Static Rooster Money variables"""

VERSION="2023.12.0"
VERSION="2023.12.1"
BASE_URL="https://api.rooster.money"
OAUTH_TOKEN_URL="https://auth.rooster.money/oidc/token"
LANGUAGE="en-GB"
COUNTRY="gb"
CURRENCY="GBP"
TIMEZONE_ID=60
TIMEZONE="GMT+01:00"
TIMEZONE_ID=0
TIMEZONE="GMT+00:00"
DEFAULT_PRECISION=2
DEFAULT_BANK_NAME="Rooster Money"
DEFAULT_BANK_TYPE="Business"
DEFAULT_JOB_IMAGE_URL="https://images.roostermoney.com/static/default_job_icon.png"
MOBILE_APP_VERSION="10.4.1"
MOBILE_APP_VERSION="10.5.4"

SAVINGS_POT_ID="SAVE_POT"
SPEND_POT_ID="SPEND_POT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name="pyroostermoney",
version="2023.12.0",
version="2023.12.1",
description="A RoosterMoney integration for Python.",
url="https://github.com/pantherale0/pyroostermoney",
author="pantherale0",
Expand Down

0 comments on commit 4523bc6

Please sign in to comment.