Fix sort.

This commit is contained in:
John Livingston
2023-08-09 14:24:52 +02:00
parent cb6decfa84
commit 09b1c889ff

@ -18,7 +18,7 @@ async function renderModerationHome (registerClientOptions: RegisterClientOption
} }
const channels = await (await fetch( const channels = await (await fetch(
'/api/v1/accounts/' + encodeURIComponent(username) + '/video-channels?start=0&count=100&sort=-createdAt', '/api/v1/accounts/' + encodeURIComponent(username) + '/video-channels?start=0&count=100&sort=name',
{ {
method: 'GET', method: 'GET',
headers: peertubeHelpers.getAuthHeader() headers: peertubeHelpers.getAuthHeader()