Fix the delete suggestion button not working and using a deprecated endpoint (#34396)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2025-04-08 10:35:54 +00:00
1 parent ebfd48b0f2
commit d81983f181
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,4 +5,4 @@ export const apiGetSuggestions = (limit: number) =>
apiRequestGet<ApiSuggestionJSON[]>('v2/suggestions', { limit });
export const apiDeleteSuggestion = (accountId: string) =>
apiRequestDelete(`v1/suggestions/${accountId}`);
apiRequestDelete(`v2/suggestions/${accountId}`);