diff --git a/ereuse_devicehub/resources/action/views.py b/ereuse_devicehub/resources/action/views.py index 85f347bb..18a26e20 100644 --- a/ereuse_devicehub/resources/action/views.py +++ b/ereuse_devicehub/resources/action/views.py @@ -404,5 +404,6 @@ class ActionView(View): user = offer.user_from if g.user == offer.user_from: user = offer.user_to + confirm = Confirm(user=user, action=offer, devices=offer.devices) db.session.add(confirm)