* adds support for GET /check on intervention to run checks automatically via API
This commit is contained in:
2022-01-25 09:29:14 +01:00
parent 096688fad5
commit 0b723b1529
8 changed files with 132 additions and 35 deletions

View File

@@ -277,7 +277,8 @@ class RecordableObjectMixin(models.Model):
self.save()
if self.recorded:
self.set_unrecorded(performing_user)
action = self.set_unrecorded(performing_user)
self.log.add(action)
if request:
messages.info(
request,