From 0f9f9d1b73d19c18f5bde2856d727f74999d499d Mon Sep 17 00:00:00 2001 From: Kobe Date: Wed, 4 Jun 2025 11:32:47 +0200 Subject: [PATCH] Update file-grid.js --- static/js/file-grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/file-grid.js b/static/js/file-grid.js index 757492b..d914d18 100644 --- a/static/js/file-grid.js +++ b/static/js/file-grid.js @@ -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) {