adapt operational_check_view to using authentic as idp name

This commit is contained in:
Frédéric Péters 2014-06-17 17:30:12 +02:00
parent e2af0066dd
commit a8ee8cdf56
1 changed files with 1 additions and 1 deletions

View File

@ -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')