mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
chore(ui): remove debug console.log from finding-groups actions
This commit is contained in:
@@ -40,11 +40,9 @@ export const getFindingGroups = async ({
|
||||
if (sort) url.searchParams.append("sort", sort);
|
||||
|
||||
appendSanitizedProviderFilters(url, mapSearchFilter(filters));
|
||||
console.log("[finding-groups] GET", decodeURIComponent(url.toString()));
|
||||
|
||||
try {
|
||||
const response = await fetch(url.toString(), { headers });
|
||||
console.log("[finding-groups]", response.status);
|
||||
return handleApiResponse(response);
|
||||
} catch (error) {
|
||||
console.error("Error fetching finding groups:", error);
|
||||
@@ -69,14 +67,9 @@ export const getLatestFindingGroups = async ({
|
||||
if (sort) url.searchParams.append("sort", sort);
|
||||
|
||||
appendSanitizedProviderFilters(url, mapSearchFilter(filters));
|
||||
console.log(
|
||||
"[finding-groups/latest] GET",
|
||||
decodeURIComponent(url.toString()),
|
||||
);
|
||||
|
||||
try {
|
||||
const response = await fetch(url.toString(), { headers });
|
||||
console.log("[finding-groups/latest]", response.status);
|
||||
return handleApiResponse(response);
|
||||
} catch (error) {
|
||||
console.error("Error fetching latest finding groups:", error);
|
||||
|
||||
Reference in New Issue
Block a user