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

Hardened asset checkout validation by requiring integer #15892

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

marcusmoore
Copy link
Collaborator

Description

This PR adds integer to the rules for assigned_user, assigned_asset, and assigned_location when checking out an asset via the api. This is to avoid passing in an array or something else unexpected.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@marcusmoore marcusmoore requested a review from snipe as a code owner November 26, 2024 19:34
Copy link

what-the-diff bot commented Nov 26, 2024

PR Summary

  • Enhanced Validation Rules
    Updated the rules for verification of 'assigned_user', 'assigned_asset' and 'assigned_location'. Now, they need to be integer values. This step will likely improve the accuracy and correctness of the data input.

@snipe snipe merged commit 46be1ad into snipe:develop Nov 27, 2024
9 checks passed
@marcusmoore marcusmoore deleted the bug/harden-checkout-validation branch December 2, 2024 17:26
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.

2 participants