Skip to content

Commit

Permalink
fix(api): don't crash drf-spectacular
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuukis committed Nov 13, 2024
1 parent 99f58f8 commit 406302e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kobo/apps/openrosa/libs/renderers/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def filter_renderers(self, renderers, format):

class MediaFileRenderer(BaseRenderer):
media_type = '*/*'
format = None
format = 'TODO'
charset = None
render_style = 'binary'

Expand Down
2 changes: 1 addition & 1 deletion kpi/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AssetJsonRenderer(renderers.JSONRenderer):

class MediaFileRenderer(renderers.BaseRenderer):
media_type = '*/*'
format = None
format = 'TODO'
charset = None
render_style = 'binary'

Expand Down

0 comments on commit 406302e

Please sign in to comment.