diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-04-07 08:09:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 10:09:54 +0200 |
commit | b302c80dc0d9ba8eabef9ef6576efe36afc57584 (patch) | |
tree | 14d406b41291805deb94a36a5e79f8d6989355f8 /shared/server-commands/users/users-command.ts | |
parent | 9258e9a4a37911fc64b5faada2a7e604bd1ede1f (diff) | |
download | PeerTube-b302c80dc0d9ba8eabef9ef6576efe36afc57584.tar.gz PeerTube-b302c80dc0d9ba8eabef9ef6576efe36afc57584.tar.zst PeerTube-b302c80dc0d9ba8eabef9ef6576efe36afc57584.zip |
feature/ability to disable video history by default (#5728)
* draft: ability to disable video history by default
* Update configuration and add tests
* Updated code based on review comments
* Add tests on registration and video quota
* Remove required video quotas in query
* Fix tests
Diffstat (limited to 'shared/server-commands/users/users-command.ts')
-rw-r--r-- | shared/server-commands/users/users-command.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/server-commands/users/users-command.ts b/shared/server-commands/users/users-command.ts index 8a42fafc8..5b39d3488 100644 --- a/shared/server-commands/users/users-command.ts +++ b/shared/server-commands/users/users-command.ts | |||
@@ -165,8 +165,8 @@ export class UsersCommand extends AbstractCommand { | |||
165 | username, | 165 | username, |
166 | adminFlags, | 166 | adminFlags, |
167 | password = 'password', | 167 | password = 'password', |
168 | videoQuota = 42000000, | 168 | videoQuota, |
169 | videoQuotaDaily = -1, | 169 | videoQuotaDaily, |
170 | role = UserRole.USER | 170 | role = UserRole.USER |
171 | } = options | 171 | } = options |
172 | 172 | ||