1
0
Fork 0

Merge branch 'release/4.2.0' into develop

This commit is contained in:
Chocobozzz 2022-06-27 13:53:42 +02:00
commit 83b1b7eaf1
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -438,14 +438,14 @@ export class VideoService {
if (skipCount) newParams = newParams.set('skipCount', skipCount + '') if (skipCount) newParams = newParams.set('skipCount', skipCount + '')
if (isLocal) newParams = newParams.set('isLocal', isLocal) if (isLocal !== undefined) newParams = newParams.set('isLocal', isLocal)
if (include) newParams = newParams.set('include', include) if (include !== undefined) newParams = newParams.set('include', include)
if (isLive) newParams = newParams.set('isLive', isLive) if (isLive !== undefined) newParams = newParams.set('isLive', isLive)
if (nsfw) newParams = newParams.set('nsfw', nsfw) if (nsfw !== undefined) newParams = newParams.set('nsfw', nsfw)
if (nsfwPolicy) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy)) if (nsfwPolicy !== undefined) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy))
if (languageOneOf) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf) if (languageOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf)
if (categoryOneOf) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf) if (categoryOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf)
if (privacyOneOf) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf) if (privacyOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf)
return newParams return newParams
} }