diff --git a/fast_agave/blueprints/rest_api.py b/fast_agave/blueprints/rest_api.py index 4fc1b2f..e94b537 100644 --- a/fast_agave/blueprints/rest_api.py +++ b/fast_agave/blueprints/rest_api.py @@ -81,9 +81,9 @@ def wrapper_resource_class(cls): @self.delete(path + '/{id}') @copy_attributes(cls) - async def delete(id: str): + async def delete(id: str, request: Request): obj = await self.retrieve_object(cls, id) - return await cls.delete(obj) + return await cls.delete(obj, request) """ PATCH /resource/{id} Enable PATCH method if Resource.update method exist. It validates diff --git a/fast_agave/version.py b/fast_agave/version.py index 67a3e46..157c668 100644 --- a/fast_agave/version.py +++ b/fast_agave/version.py @@ -1 +1 @@ -__version__ = '0.0.2.dev5' +__version__ = '0.0.2.dev6'