Revision a4398c8c snf-astakos-app/astakos/im/api/service.py

b/snf-astakos-app/astakos/im/api/service.py
67 67
                        if service.auth_token_expires:
68 68
                            if (time() - mktime(service.auth_token_expires.timetuple())) > 0:
69 69
                                raise Unauthorized('Authentication expired')
70
                        request.service_instance = service
70 71
                    except Service.DoesNotExist, e:
71 72
                        raise Unauthorized('Invalid X-Auth-Token')
72 73
                response = func(request, *args, **kwargs)

Also available in: Unified diff