mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-07 20:26:15 +00:00
Fix usage of incorrect API endpoint for suggestion deletion (#34398)
This commit is contained in:
parent
36afb4557a
commit
f66d092b32
|
@ -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}`);
|
||||
|
|
Loading…
Reference in New Issue
Block a user