diff options
author | Alecks Gates <agates@mail.agates.io> | 2023-06-05 02:00:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 09:00:30 +0200 |
commit | 1ed1994fffb18a2b0bd74e49b50067ab047f8ab8 (patch) | |
tree | 9f06f52d9a376e75066a4a6f01079cb96de1ba6a /server/middlewares | |
parent | 9a64621975097f648f6bf19f15b03ba3820918f2 (diff) | |
download | PeerTube-1ed1994fffb18a2b0bd74e49b50067ab047f8ab8.tar.gz PeerTube-1ed1994fffb18a2b0bd74e49b50067ab047f8ab8.tar.zst PeerTube-1ed1994fffb18a2b0bd74e49b50067ab047f8ab8.zip |
Use largest avatar in RSS feeds, unique guid for liveItems (#5817)
* Attempt to get largest avatar size
* WIP live guid changes
* Use largest avatar version in feeds
* Misc variable names/import changes
* Update podcast feed tests for guid changes
* More <guid> testing
* Lint fix
* Styling
---------
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/validators/feeds.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/feeds.ts b/server/middlewares/validators/feeds.ts index ee8615cae..9673a6613 100644 --- a/server/middlewares/validators/feeds.ts +++ b/server/middlewares/validators/feeds.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import express from 'express' | 1 | import express from 'express' |
2 | import { param, query } from 'express-validator' | 2 | import { param, query } from 'express-validator' |
3 | import { HttpStatusCode } from '../../../shared/models/http/http-error-codes' | 3 | import { HttpStatusCode } from '@shared/models' |
4 | import { isValidRSSFeed } from '../../helpers/custom-validators/feeds' | 4 | import { isValidRSSFeed } from '../../helpers/custom-validators/feeds' |
5 | import { exists, isIdOrUUIDValid, isIdValid, toCompleteUUID } from '../../helpers/custom-validators/misc' | 5 | import { exists, isIdOrUUIDValid, isIdValid, toCompleteUUID } from '../../helpers/custom-validators/misc' |
6 | import { buildPodcastGroupsCache } from '../cache' | 6 | import { buildPodcastGroupsCache } from '../cache' |