Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix lint

Chocobozzz7a8d858e97ab
diff --git a/client/src/app/core/users/user.service.ts b/client/src/app/core/users/user.service.ts
index 99ed3b4078..f4850c3ba0 100644
--- a/client/src/app/core/users/user.service.ts
+++ b/client/src/app/core/users/user.service.ts
@@ -274,7 +274,7 @@ export class UserService {
return new User({
// local storage keys
- nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY) as NSFWPolicyType,
+ nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY),
webTorrentEnabled: this.localStorageService.getItem(UserLocalStorageKeys.WEBTORRENT_ENABLED) !== 'false',
theme: this.localStorageService.getItem(UserLocalStorageKeys.THEME) || 'instance-default',
videoLanguages,