Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: soonsouth <[email protected]>
  • Loading branch information
soonsouth authored and Chocobozzz committed Mar 18, 2024
1 parent 1048d10 commit 01af40a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/api/check-params/video-channel-syncs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 42
Expand Down
4 changes: 2 additions & 2 deletions server/core/lib/uploadx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion server/core/lib/video-pre-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function buildYoutubeDLImport (options: {
})

await sequelizeTypescript.transaction(async transaction => {
// Priority to explicitely set description
// Priority to explicitly set description
if (importDataOverride?.description) {
const inserted = await replaceChaptersFromDescriptionIfNeeded({ newDescription: importDataOverride.description, video, transaction })
if (inserted) return
Expand Down

0 comments on commit 01af40a

Please sign in to comment.