|
@ -59,7 +59,9 @@ def get_mesa_diretora(request): |
|
|
kwargs = {} |
|
|
kwargs = {} |
|
|
|
|
|
|
|
|
legislatura = request.GET.get('legislatura') |
|
|
legislatura = request.GET.get('legislatura') |
|
|
if legislatura: |
|
|
if not legislatura: |
|
|
|
|
|
legislatura = Legislatura.objects.order_by('-data_inicio').first().id |
|
|
|
|
|
|
|
|
kwargs['legislatura_id'] = legislatura |
|
|
kwargs['legislatura_id'] = legislatura |
|
|
|
|
|
|
|
|
sessao = request.GET.get('sessao') |
|
|
sessao = request.GET.get('sessao') |
|
@ -740,6 +742,3 @@ class AppVersionView(APIView): |
|
|
'is_authenticated': request.user.is_authenticated, |
|
|
'is_authenticated': request.user.is_authenticated, |
|
|
} |
|
|
} |
|
|
return Response(content) |
|
|
return Response(content) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|