mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
move videoQuota under a user object, use byte PipeTransform
This commit is contained in:
parent
fc27b17c6b
commit
1869c87535
5 changed files with 24 additions and 1 deletions
|
@ -76,6 +76,9 @@ async function getConfig (req: express.Request, res: express.Response, next: exp
|
|||
file: {
|
||||
extensions: CONSTRAINTS_FIELDS.VIDEOS.EXTNAME
|
||||
}
|
||||
},
|
||||
user: {
|
||||
videoQuota: CONFIG.USER.VIDEO_QUOTA
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue