[Glitch] Fix usage of incorrect API endpoint for suggestion deletion

Port f66d092b32 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire committed 2025-04-08 19:15:04 +02:00
1 parent f4371ee3bb
commit 5a7704c4a3
1 file changed
+1 -1
@@ -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}`);