mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix jobs tests
This commit is contained in:
parent
993cef4b6e
commit
f41d6aacdf
2 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,7 @@ export function checkUserCanTerminateOwnershipChange (
|
|||
videoChangeOwnership: VideoChangeOwnershipModel,
|
||||
res: Response
|
||||
): boolean {
|
||||
if (videoChangeOwnership.NextOwner.userId === user.Account.userId) {
|
||||
if (videoChangeOwnership.NextOwner.userId === user.id) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue