Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Oct 10, 2024
1 parent 20fb164 commit a3beb23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/serdes/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def get(self, request, *args, **kwargs):
return Response(status=status.HTTP_403_FORBIDDEN)
response = HttpResponse(content_type="application/json")
timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
response[
"Content-Disposition"
] = f'attachment; filename="ciso-assistant-db-{timestamp}.json"'
response["Content-Disposition"] = (
f'attachment; filename="ciso-assistant-db-{timestamp}.json"'
)

buffer = io.StringIO()
buffer.write(f'[{{"meta": [{{"media_version": "{VERSION}"}}]}},\n')
Expand Down

0 comments on commit a3beb23

Please sign in to comment.