diff --git a/ereuse_devicehub/resources/action/views/snapshot.py b/ereuse_devicehub/resources/action/views/snapshot.py index 1477835c..bca48f84 100644 --- a/ereuse_devicehub/resources/action/views/snapshot.py +++ b/ereuse_devicehub/resources/action/views/snapshot.py @@ -193,7 +193,7 @@ class SnapshotView(SnapshotMixin): raise err db.session.add(snapshot) - self.errors(txt="Ok", severity=Severity.Info, snapshot=snapshot, commit=True) + self.errors(txt="Ok", severity=Severity.Info, snapshot=snapshot, commit=False) db.session().final_flush() self.response = self.schema.jsonify(snapshot) # transform it back