1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add audit logs in various modules

- Videos
- Videos comments
- Users
- Videos channels
- Videos abuses
- Custom config
This commit is contained in:
Aurélien Bertron 2018-07-31 14:04:26 +02:00 committed by Chocobozzz
parent 5939081838
commit 80e36cd9fa
9 changed files with 249 additions and 20 deletions

View file

@ -17,6 +17,7 @@ async function createUserAccountAndChannel (userToCreate: UserModel, validateUse
const userCreated = await userToCreate.save(userOptions)
const accountCreated = await createLocalAccountWithoutKeys(userToCreate.username, userToCreate.id, null, t)
userCreated.Account = accountCreated
const videoChannelDisplayName = `Default ${userCreated.username} channel`
const videoChannelInfo = {