Fix usage of incorrect API endpoint for suggestion deletion (#34398)

This commit is contained in:
Claire 2025-04-08 16:49:49 +02:00 committed by GitHub
parent 36afb4557a
commit f66d092b32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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