Skip to content
Permalink
Browse files

Fix pycroft backend displaying wrong finance balance

  • Loading branch information...
ibot3 committed Aug 6, 2019
1 parent 98c2e8c commit b3ff448c44af0a7d342364fb482d629e80b6ee40
Showing with 3 additions and 1 deletion.
  1. +3 −1 sipa/model/pycroft/schema.py
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import annotations

from decimal import Decimal
from typing import List, Optional

from sipa.model.pycroft.unserialize import unserializer
@@ -17,7 +19,7 @@ class UserData:
cache: bool
traffic_history: List[TrafficHistoryEntry]
interfaces: List[Interface]
finance_balance: int
finance_balance: Decimal
finance_history: List[FinanceHistoryEntry]
# TODO implement `cls.Meta.custom_constructors`, use `parse_date` for this
last_finance_update: str

0 comments on commit b3ff448

Please sign in to comment.
You can’t perform that action at this time.