Update file-grid.js

This commit is contained in:
2025-06-04 11:32:47 +02:00
parent 3dc897518e
commit 0f9f9d1b73

View File

@@ -346,7 +346,7 @@ function renderFiles(files) {
*/
async function fetchFiles() {
try {
const endpoint = isTrashPage ? '/api/trash' : '/api/rooms/starred';
const endpoint = isTrashPage ? '/api/rooms/trash' : '/api/rooms/starred';
const response = await fetch(endpoint);
const files = await response.json();
if (files) {