#31 API WIP
* adds support for GET /check on intervention to run checks automatically via API
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user