aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-17 13:10:58 +0200
committerChocobozzz <me@florianbigard.com>2018-10-17 13:10:58 +0200
commit0229b014e0101844df028342b8d4dd9ae4e887a4 (patch)
tree5c42c40499e4298ee241203c8e055dbbd9438739 /server/models/account
parentf365e978ed08e8fc7adf0607271c4071915629ee (diff)
downloadPeerTube-0229b014e0101844df028342b8d4dd9ae4e887a4.tar.gz
PeerTube-0229b014e0101844df028342b8d4dd9ae4e887a4.tar.zst
PeerTube-0229b014e0101844df028342b8d4dd9ae4e887a4.zip
Fix tests
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/user.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/account/user.ts b/server/models/account/user.ts
index 4b4a562fa..34aafa1a7 100644
--- a/server/models/account/user.ts
+++ b/server/models/account/user.ts
@@ -109,6 +109,7 @@ export class UserModel extends Model<UserModel> {
109 nsfwPolicy: NSFWPolicyType 109 nsfwPolicy: NSFWPolicyType
110 110
111 @AllowNull(false) 111 @AllowNull(false)
112 @Default(true)
112 @Is('UserWebTorrentEnabled', value => throwIfNotValid(value, isUserWebTorrentEnabledValid, 'WebTorrent enabled')) 113 @Is('UserWebTorrentEnabled', value => throwIfNotValid(value, isUserWebTorrentEnabledValid, 'WebTorrent enabled'))
113 @Column 114 @Column
114 webTorrentEnabled: boolean 115 webTorrentEnabled: boolean