ActivityPub-federated video streaming platform using P2P directly in your web browser
chore: fix some comments
soonsouth01af40a55f53
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d119d3d734..c401b92876 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -363,7 +363,7 @@ We have many important notes in this release. We know it's a pain for sysadmin,* :tada: Implement user registration approval (https://docs.joinpeertube.org/admin/managing-users#registration-approval) [#5544](https://github.com/Chocobozzz/PeerTube/pull/5544)* If enabled, the user has to fill a *Registration reason* input- * Moderators have to to accept/reject the registration with a *Moderation response* that will be sent by email to the user+ * Moderators have to accept/reject the registration with a *Moderation response* that will be sent by email to the user* If the registration is accepted, the user and its channel are automatically created* Add "back to live" button in player* The *Live* button is red when the player is synced with the live@@ -1915,7 +1915,7 @@ A new endpoint to report videos will be created in PeerTube 2.4 and will also al### Features- * :tada: Add global search support (has to be explicitely enabled by admins)+ * :tada: Add global search support (has to be explicitly enabled by admins)* :tada: Add ability for admins to display a banner on their instance* :tada: Support Vietnamese and Kabyle languages. Also re-establish Occitan language locale despite lack of support in Angular* Federation:diff --git a/packages/tests/src/api/check-params/video-channel-syncs.ts b/packages/tests/src/api/check-params/video-channel-syncs.tsindex d95f3319ad..edb0ab13f8 100644--- a/packages/tests/src/api/check-params/video-channel-syncs.ts+++ b/packages/tests/src/api/check-params/video-channel-syncs.ts@@ -139,7 +139,7 @@ describe('Test video channel sync API validator', () => {})})- it('Should fail with a channelId refering nothing', async function () {+ it('Should fail with a channelId referring nothing', async function () {const attributes: VideoChannelSyncCreate = {...baseCorrectParams,videoChannelId: 42diff --git a/server/core/lib/uploadx.ts b/server/core/lib/uploadx.tsindex 7ecccafb49..9f74207e4e 100644--- a/server/core/lib/uploadx.ts+++ b/server/core/lib/uploadx.ts@@ -75,13 +75,13 @@ export function setupUploadResumableRoutes (options: {...uploadInitBeforeMiddlewares,resumableInitValidator,...uploadInitAfterMiddlewares,- (req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end+ (req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end)router.delete(routePath,authenticate,...uploadDeleteMiddlewares,- (req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end+ (req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end)router.put(routePath,diff --git a/server/core/lib/video-pre-import.ts b/server/core/lib/video-pre-import.tsindex d9a4c4421d..484474f92d 100644--- a/server/core/lib/video-pre-import.ts+++ b/server/core/lib/video-pre-import.ts@@ -227,7 +227,7 @@ async function buildYoutubeDLImport (options: {})await sequelizeTypescript.transaction(async transaction => {- // Priority to explicitely set description+ // Priority to explicitly set descriptionif (importDataOverride?.description) {const inserted = await replaceChaptersFromDescriptionIfNeeded({ newDescription: importDataOverride.description, video, transaction })if (inserted) return