Fix API requests after #30818 (#30837)

This commit is contained in:
Claire authored and GitHub committed 2024-06-25 16:53:03 +00:00
1 parent 845fe1c693
commit 2c7eed1fa1
3 files changed
+3 -10

No files matched your search

+1 -3
View File
@@ -3,7 +3,5 @@ import type { ApiRelationshipJSON } from 'mastodon/api_types/relationships';
export const apiSubmitAccountNote = (id: string, value: string) =>
apiRequestPost<ApiRelationshipJSON>(`v1/accounts/${id}/note`, {
data: {
comment: value,
},
comment: value,
});