From e4165f7a342df6b7855ba06ade3ae5bb3f647a46 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Sat, 14 Sep 2024 16:46:51 -0300 Subject: [PATCH] fix: ajust condition to filter file list Signed-off-by: Vitor Mattos --- src/store/files.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/store/files.js b/src/store/files.js index e6f3d9f15f..f443c2f3da 100644 --- a/src/store/files.js +++ b/src/store/files.js @@ -171,11 +171,7 @@ export const useFilesStore = defineStore('files', { ) }, async getAllFiles(filter) { - const response = await axios.get(generateOcsUrl('/apps/libresign/api/v1/file/list'), { - params: { - filter, - }, - }) + const response = await axios.get(generateOcsUrl('/apps/libresign/api/v1/file/list'), { params: filter }) this.files = {} response.data.ocs.data.data.forEach(file => { this.addFile(file)