diff --git a/geruecht/baruser/routes.py b/geruecht/baruser/routes.py index 484cf4f..ababcfc 100644 --- a/geruecht/baruser/routes.py +++ b/geruecht/baruser/routes.py @@ -154,6 +154,9 @@ def _storno(**kwargs): dic = user.toJSON() dic['amount'] = all dic['type'] = type + dic['last_seen'] = {"year": user.last_seen.year, "month": user.last_seen.month, "day": user.last_seen.day, + "hour": user.last_seen.hour, "minute": user.last_seen.minute, + "second": user.last_seen.second} if user.last_seen else None debug.debug("return {{ {} }}".format(dic)) creditL.info("{} Baruser {} {} storniert {} € von {} {}".format( date, kwargs['accToken'].user.firstname, kwargs['accToken'].user.lastname, amountl/100, user.firstname, user.lastname))