1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: archive project curl (#8181)

This commit is contained in:
Mateusz Kwasniewski 2024-09-19 09:58:31 +02:00 committed by GitHub
parent 77b90dbdb6
commit d5076f0772
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ export const ArchiveProjectForm = ({ featureCount }: IDeleteProjectForm) => {
const { loading } = useProjectApi();
const formatProjectArchiveApiCode = () => {
return `curl --location --request POST '${uiConfig.unleashUrl}/api/admin/projects/archive/${id}' \\
--header 'Authorization: INSERT_API_KEY' '`;
--header 'Authorization: INSERT_API_KEY'`;
};
return (