1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Remove references to author

This commit is contained in:
Chocobozzz 2017-11-10 14:48:08 +01:00
parent 0d0e8dd090
commit 38fa206583
No known key found for this signature in database
GPG key ID: 583A612D890159BE
34 changed files with 111 additions and 1367 deletions

View file

@ -131,7 +131,7 @@ getByTokenAndPopulateUser = function (bearerToken: string) {
model: OAuthToken['sequelize'].models.User,
include: [
{
model: OAuthToken['sequelize'].models.Author,
model: OAuthToken['sequelize'].models.Account,
required: true
}
]
@ -156,7 +156,7 @@ getByRefreshTokenAndPopulateUser = function (refreshToken: string) {
model: OAuthToken['sequelize'].models.User,
include: [
{
model: OAuthToken['sequelize'].models.Author,
model: OAuthToken['sequelize'].models.Account,
required: true
}
]