diff --git a/pillarsdk/projects.py b/pillarsdk/projects.py index b55f677..4dfd1d1 100644 --- a/pillarsdk/projects.py +++ b/pillarsdk/projects.py @@ -57,7 +57,7 @@ class Project(List, Find, Create, Post, Update, Delete, Replace): attributes.pop('_updated', None) attributes.pop('_links', None) attributes.pop('_deleted', None) - attributes.pop('allowed_methods') + attributes.pop('allowed_methods', None) # Strip embedded image file properties and revert to ObjectId for prop in ['picture_square', 'picture_header']: if prop in attributes and type(attributes[prop]) is dict: