Skip to content
Snippets Groups Projects
Unverified Commit b6a4fd6b authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix avatars on video watch page

parent 0b495712
No related branches found
No related tags found
No related merge requests found
# Changelog
## v0.0.25-alpha
### Bug fixes
* Fix avatars on video watch page
## v0.0.24-alpha
### Features
......
......@@ -68,6 +68,7 @@ import { sendDeleteVideo } from '../../lib/activitypub/send'
import { AccountModel } from '../account/account'
import { AccountVideoRateModel } from '../account/account-video-rate'
import { ActorModel } from '../activitypub/actor'
import { AvatarModel } from '../avatar/avatar'
import { ServerModel } from '../server/server'
import { getSort, throwIfNotValid } from '../utils'
import { TagModel } from './tag'
......@@ -175,6 +176,10 @@ enum ScopeNames {
attributes: [ 'host' ],
model: () => ServerModel.unscoped(),
required: false
},
{
model: () => AvatarModel.unscoped(),
required: false
}
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment