Skip to content

Commit

Permalink
[server] fix AnalysisTrackSerializer field result_url according to #174
Browse files Browse the repository at this point in the history
  • Loading branch information
Tointoin committed May 20, 2020
1 parent 551a30c commit 4202ac8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions timeside/server/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,11 @@ def get_result_url(self, obj):
if self._result_uuid is not None:
url_kwargs = {'uuid': self._result_uuid}
request = self.context['request']
parameters = '?id=%s' % obj.analysis.sub_processor
return reverse(
'timeside-result-visualization',
'result-detail',
kwargs=url_kwargs,
request=request
) + parameters
)
else:
return 'Task running'

Expand Down

0 comments on commit 4202ac8

Please sign in to comment.