mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-17 18:18:07 +00:00
[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:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user