Closed Christopheric1 closed 2 years ago
I'm not even sure if this have ever worked. As checkout should be done via POST to /hardware/:id/checkout and set-snipeitasset is currently using POST to /hardware/:id/
As workaround you can use Set-SnipeitAssetOwner
Thanks, I will do that!
Context
I am trying to use Set-SnipeITAsset to assign a user to the asset. When trying to do this, it will show the output that "assigned_to" says the ID of the person in the output.
When I try to get into the asset to check, I get a 500 internal server error
I run the same command again and I get the same output but with no assigned_to
Now it will let me back into the asset, but it is not assigned
Your Environment
Expected Behavior
I was hoping that I could assign the user to the asset and have it show up inside of Snipe-IT
Current Behavior
First thing I get is a 500 internal server error. If I run it again, it no longer shows the person assigned and I can get into the asset again. It is not assigned though.
Steps to Reproduce (for bugs)