1
0
Fork 0
forked from gitea/nas

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

This commit is contained in:
Renaud Chaput 2025-04-08 12:35:54 +02:00 committed by GitHub
parent ebfd48b0f2
commit d81983f181
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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}`);