From f41978c16d4102f436cc27f3f1c31ebd325b0380 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 25 Dec 2023 13:52:52 +0000 Subject: [PATCH] Refactor file picker overrideRequestUrl parameter --- CommonUI/src/Components/FilePicker/FilePicker.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CommonUI/src/Components/FilePicker/FilePicker.tsx b/CommonUI/src/Components/FilePicker/FilePicker.tsx index 74bc97bba5..720f9c1f39 100644 --- a/CommonUI/src/Components/FilePicker/FilePicker.tsx +++ b/CommonUI/src/Components/FilePicker/FilePicker.tsx @@ -111,8 +111,7 @@ const FilePicker: FunctionComponent = ( model: fileModel, modelType: FileModel, requestOptions: { - overrideRequestUrl: - CommonURL.fromURL(FILE_URL), + overrideRequestUrl: CommonURL.fromURL(FILE_URL), }, })) as HTTPResponse; filesResult.push(result.data as FileModel);