From 06945bd1b77a26240b79f3408e5bc68ec636abde Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Wed, 7 Sep 2022 11:11:20 -0400 Subject: [PATCH] Fix download link (#1264) * Fix download link * Update changelog --- CHANGELOG.md | 1 + .../src/features/privacy-requests/privacy-requests.slice.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c4f084a..26d1ed29a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ The types of changes are: * Allow passwords to be sent either base64 encode or as plaintext. [#1236](https://github.com/ethyca/fidesops/pull/1236) * Allow worker to start up successfully for dev and dev_with_worker nox commands [#1250](https://github.com/ethyca/fidesops/pull/1250) * Fix for pytest-asyncio bug [#1260](https://github.com/ethyca/fidesops/pull/1260) +* Fix download link in privacy center [#1264](https://github.com/ethyca/fidesops/pull/1264) ## [1.7.2](https://github.com/ethyca/fidesops/compare/1.7.1...1.7.2) diff --git a/clients/ops/admin-ui/src/features/privacy-requests/privacy-requests.slice.ts b/clients/ops/admin-ui/src/features/privacy-requests/privacy-requests.slice.ts index a7e026de3..55dae3032 100644 --- a/clients/ops/admin-ui/src/features/privacy-requests/privacy-requests.slice.ts +++ b/clients/ops/admin-ui/src/features/privacy-requests/privacy-requests.slice.ts @@ -3,7 +3,7 @@ import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query/react"; import { addCommonHeaders } from "common/CommonHeaders"; import type { RootState } from "../../app/store"; -import { BASE_API_URN, BASE_URL } from "../../constants"; +import { BASE_URL } from "../../constants"; import { selectToken } from "../auth"; import { DenyPrivacyRequest, @@ -124,7 +124,7 @@ export const requestCSVDownload = async ({ } return fetch( - `${BASE_API_URN}/privacy-request?${new URLSearchParams({ + `${BASE_URL}/privacy-request?${new URLSearchParams({ ...mapFiltersToSearchParams({ id, from,