diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index aa243859c..8a8bcd126 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -773,7 +773,7 @@ function buildVideosRedundancy (objs: any[]): VideosRedundancy[] { | |||
773 | if (!objs) return [] | 773 | if (!objs) return [] |
774 | 774 | ||
775 | return objs.map(obj => { | 775 | return objs.map(obj => { |
776 | return Object.assign(obj, { | 776 | return Object.assign({}, obj, { |
777 | minLifetime: parseDuration(obj.min_lifetime), | 777 | minLifetime: parseDuration(obj.min_lifetime), |
778 | size: bytes.parse(obj.size), | 778 | size: bytes.parse(obj.size), |
779 | minViews: obj.min_views | 779 | minViews: obj.min_views |