]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/user.ts
Fix AP collections pagination
[github/Chocobozzz/PeerTube.git] / server / models / account / user.ts
index 4b4a562fa96f69ba59ceaa33b03e482975bba407..34aafa1a7c586abc7930d471a5dcd78582b2a970 100644 (file)
@@ -109,6 +109,7 @@ export class UserModel extends Model<UserModel> {
   nsfwPolicy: NSFWPolicyType
 
   @AllowNull(false)
+  @Default(true)
   @Is('UserWebTorrentEnabled', value => throwIfNotValid(value, isUserWebTorrentEnabledValid, 'WebTorrent enabled'))
   @Column
   webTorrentEnabled: boolean