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 #9666 Asset checkin via api doesn't send notification. #9676

Merged

Conversation

inietov
Copy link
Collaborator

@inietov inietov commented Jun 8, 2021

Description

The AssetsController.php class used when querying the API doesn't throws the CheckoutableCheckedIn() event, meaning notifications where not send. I noted the $asset->logCheckin() function used to send notifications, but the code is now commented, so I think the preferred way in Snipe-It to send notifications is via events now, but as always, every insight is welcome.

Fixes #9666

Type of change

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

How Has This Been Tested?

Test Configuration:

  • PHP version: 7.4.16
  • MySQL version: 8.0.23
  • Webserver version: nginx/1.19.8
  • OS version: Debian 10

@inietov inietov requested a review from snipe as a code owner June 8, 2021 18:27
@snipe snipe merged commit e44a251 into snipe:develop Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants