Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes on New-SnipeItUser #303

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Frank-Geisler
Copy link

Hi!

There were some minor issues in New-SnipeitUser that I fixed:

  • Some Typos in the description
  • added password to be mandatory
  • added a test that if the password is less than 8 characters we will have an exception because the WebAPI does not like passwords with less than 8 characters. Test now is through ValidateScript

Have a good one

Frank

erikjunker and others added 10 commits October 6, 2022 19:03
Rebased Fix/jorips1 orginal PR

New/Set licenses
Removed Validate Length from New-SnipeitLicense -license_email, bringing it in line with Set. This was causing the parameter to fail as it cannot validate the mailaddress object.
Added code to convert -license_email to string, as required by the SnipeitAPI.
Added -purchase_order functionality.

New Supplier
Fixed typo in API which was causing the command to fail.
@PetriAsi
Copy link
Collaborator

Hi, thanks for fixes. I'm happy to merge this. Could you please change to little things. rebase you changes agains current delvelop branch and change this PR to reference develop instead master. Rebasing will keep changelog tidy by removind all unneeded commits from PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants