grokability / jamf2snipe

Import and sync assets from a JAMFPro instance to Snipe-IT asset management.
MIT License
109 stars 55 forks source link

Update search_snipe_asset to handle no asset found #102

Closed tanyayeu closed 1 year ago

tanyayeu commented 1 year ago

Added an if/else statement in search_snipe_asset to check for total to handle the response if no asset is found

dstocking commented 1 year ago

We tested this internally, and it solved our issue.

snipe commented 1 year ago

This looks awesome, thank you!