Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sadnub committed Jul 22, 2021
1 parent b599f05 commit b4346aa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/tacticalrmm/alerts/serializers.py
Expand Up @@ -124,4 +124,4 @@ class Meta:
class AlertTemplateAuditSerializer(ModelSerializer):
class Meta:
model = AlertTemplate
fields = "__all__"
fields = "__all__"
2 changes: 1 addition & 1 deletion api/tacticalrmm/automation/serializers.py
Expand Up @@ -94,4 +94,4 @@ class Meta:
class PolicyAuditSerializer(ModelSerializer):
class Meta:
model = Policy
fields = "__all__"
fields = "__all__"
2 changes: 1 addition & 1 deletion api/tacticalrmm/checks/serializers.py
Expand Up @@ -225,4 +225,4 @@ class Meta:
class CheckAuditSerializer(serializers.ModelSerializer):
class Meta:
model = Check
fields = "__all__"
fields = "__all__"
2 changes: 1 addition & 1 deletion api/tacticalrmm/clients/serializers.py
Expand Up @@ -151,4 +151,4 @@ class Meta:
class ClientAuditSerializer(ModelSerializer):
class Meta:
model = Client
fields = "__all__"
fields = "__all__"
2 changes: 1 addition & 1 deletion api/tacticalrmm/logs/tasks.py
Expand Up @@ -22,4 +22,4 @@ def prune_audit_log(older_than_days: int) -> str:
entry_time__lt=djangotime.now() - djangotime.timedelta(days=older_than_days)
).delete()

return "ok"
return "ok"
2 changes: 1 addition & 1 deletion api/tacticalrmm/logs/tests.py
Expand Up @@ -336,4 +336,4 @@ def test_prune_audit_log(self):
# delete AgentHistory older than 30 days
prune_audit_log(30)

self.assertEqual(AuditLog.objects.count(), 6)
self.assertEqual(AuditLog.objects.count(), 6)
2 changes: 1 addition & 1 deletion api/tacticalrmm/tacticalrmm/middleware.py
Expand Up @@ -96,4 +96,4 @@ def __call__(self, request):

request._client_ip = client_ip
response = self.get_response(request)
return response
return response

0 comments on commit b4346aa

Please sign in to comment.