Skip to content

Commit

Permalink
fix bug invalid method call
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Jan 22, 2024
1 parent 47843bc commit f9aa232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/apps/viewer/models/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def exports_outdated(cls, instance, export_type, options=None):
if options is None:
options = {}

instance_ct = cls.get_object_content_type
instance_ct = cls.get_object_content_type(instance)
export_options = get_export_options_query_kwargs(options)
# Get the most recent Export
try:
Expand Down

0 comments on commit f9aa232

Please sign in to comment.