Update file-grid.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user