diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-16 09:29:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-16 09:29:54 +0100 |
commit | 11a554cfcf96dab55681001976a553ff8e3d9dcf (patch) | |
tree | 656b32d41f69232ad684ceed9a1f4016a46d1c0f /server/models/video | |
parent | e5830ac64b6afb33e899ac8366004606c1fa39bb (diff) | |
download | PeerTube-11a554cfcf96dab55681001976a553ff8e3d9dcf.tar.gz PeerTube-11a554cfcf96dab55681001976a553ff8e3d9dcf.tar.zst PeerTube-11a554cfcf96dab55681001976a553ff8e3d9dcf.zip |
Fix unused parameter
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video-playlist-element.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/models/video/video-playlist-element.ts b/server/models/video/video-playlist-element.ts index e6906cb19..82c832188 100644 --- a/server/models/video/video-playlist-element.ts +++ b/server/models/video/video-playlist-element.ts | |||
@@ -282,7 +282,6 @@ export class VideoPlaylistElementModel extends Model<Partial<AttributesOnly<Vide | |||
282 | static increasePositionOf ( | 282 | static increasePositionOf ( |
283 | videoPlaylistId: number, | 283 | videoPlaylistId: number, |
284 | fromPosition: number, | 284 | fromPosition: number, |
285 | toPosition?: number, | ||
286 | by = 1, | 285 | by = 1, |
287 | transaction?: Transaction | 286 | transaction?: Transaction |
288 | ) { | 287 | ) { |