projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add downloadingEnabled property to video model
[oweals/peertube.git]
/
server
/
helpers
/
custom-validators
/
video-ownership.ts
diff --git
a/server/helpers/custom-validators/video-ownership.ts
b/server/helpers/custom-validators/video-ownership.ts
index aaa0c736b34c4e73e69270a6bbf40295061960ff..a7771e07b2e0bf6b1266e42407e27588f90e1b75 100644
(file)
--- a/
server/helpers/custom-validators/video-ownership.ts
+++ b/
server/helpers/custom-validators/video-ownership.ts
@@
-31,7
+31,7
@@
export function checkUserCanTerminateOwnershipChange (
videoChangeOwnership: VideoChangeOwnershipModel,
res: Response
): boolean {
- if (videoChangeOwnership.NextOwner.userId === user.
Account.userI
d) {
+ if (videoChangeOwnership.NextOwner.userId === user.
i
d) {
return true
}