Skip to content

Commit

Permalink
Upped ver, added additional valid keys for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
JMaynor committed Aug 27, 2024
1 parent 7d774fd commit e6a9a93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ezoff/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def create_asset(asset: dict) -> dict:
valid_keys = [
"fixed_asset[name]",
"fixed_asset[description]",
"fixed_asset[product_model_number]",
"fixed_asset[manufacturer]",
"fixed_asset[group_id]",
"fixed_asset[sub_group_id]",
"fixed_asset[purchased_on]",
Expand Down Expand Up @@ -304,6 +306,8 @@ def update_asset(asset_id: int, asset: dict) -> dict:
valid_keys = [
"fixed_asset[name]",
"fixed_asset[description]",
"fixed_asset[product_model_number]",
"fixed_asset[manufacturer]",
"fixed_asset[group_id]",
"fixed_asset[sub_group_id]",
"fixed_asset[identifier]",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="ezoff",
version="0.1.4",
version="0.1.5",
description="Python package that acts as a wrapper for the EZOffice API.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e6a9a93

Please sign in to comment.