Merge pull request #17129 from grokability/fixes#17127-added-note-to-eula-api

Fixed #17127 - added note to EULA info
This commit is contained in:
snipe
2025-06-08 15:29:47 +01:00
committed by GitHub

View File

@@ -562,7 +562,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
{
return $this->hasMany(Actionlog::class, 'target_id')
->with('item')
->select(['id', 'target_id', 'target_type', 'action_type', 'filename', 'accept_signature', 'created_at'])
->select(['id', 'target_id', 'target_type', 'action_type', 'filename', 'accept_signature', 'created_at', 'note'])
->where('target_type', self::class)
->where('action_type', 'accepted')
->whereNotNull('filename')