mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added escape to assigned_to API response
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3a7cef15bd
commit
9d5d1a9f9a
|
@ -170,7 +170,7 @@ class AssetsTransformer
|
|||
}
|
||||
return $asset->assigned ? [
|
||||
'id' => $asset->assigned->id,
|
||||
'name' => $asset->assigned->display_name,
|
||||
'name' => e($asset->assigned->display_name),
|
||||
'type' => $asset->assignedType()
|
||||
] : null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue