Commit 4bfa288a authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

change stubs

parent 24b6b732
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -10,8 +10,11 @@ def {}{}:
    {}
    """
    _jama_api_key = APIKey.objects.filter(user=user).first()
    jama = JamaClient(settings.ATLAS_JAMA_RPC_ENDPOINT, _jama_api_key)
    try:
        jama = JamaClient(settings.ATLAS_JAMA_RPC_ENDPOINT, _jama_api_key.key)
        return jama.{}({})
    except JamaServiceError as e:
        raise ServiceException(e.message)
'''