adapt operational_check_view to using authentic as idp name
This commit is contained in:
parent
e2af0066dd
commit
a8ee8cdf56
|
@ -108,7 +108,7 @@ class ServiceDeleteView(DeleteView):
|
|||
def operational_check_view(request, service, slug, **kwargs):
|
||||
if service == 'wcs':
|
||||
object = Wcs.objects.get(slug=slug)
|
||||
elif service == 'idp':
|
||||
elif service == 'authentic':
|
||||
object = Authentic.objects.get(slug=slug)
|
||||
object.check_operational()
|
||||
response = HttpResponse(content_type='application/json')
|
||||
|
|
Loading…
Reference in New Issue