Skip to content

Commit

Permalink
Always set actress within aggregated data as array
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Nov 2, 2020
1 parent 70b7dd4 commit 8999b56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Javinizer/Public/Get-JVAggregatedData.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ function Get-JVAggregatedData {
} else {
$aggregatedDataObject.$field = $sourceData.Id
}
} elseif ($field -eq 'Actress') {
$aggregatedDataObject.$field = @($sourceData.Actress)
} else {
$aggregatedDataObject.$field = $sourceData.$field
}
Expand Down

0 comments on commit 8999b56

Please sign in to comment.