Skip to content

Commit

Permalink
Added escape to assigned_to API response
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <snipe@snipe.net>
  • Loading branch information
snipe committed Dec 13, 2021
1 parent 3a7cef1 commit 9d5d1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Transformers/AssetsTransformer.php
Expand Up @@ -170,7 +170,7 @@ public function transformAssignedTo($asset)
}
return $asset->assigned ? [
'id' => $asset->assigned->id,
'name' => $asset->assigned->display_name,
'name' => e($asset->assigned->display_name),
'type' => $asset->assignedType()
] : null;
}
Expand Down

0 comments on commit 9d5d1a9

Please sign in to comment.