2024-06-25 13:45:41 +00:00
|
|
|
import { apiRequestPost } from 'mastodon/api';
|
2024-05-23 09:50:13 +00:00
|
|
|
import type { ApiRelationshipJSON } from 'mastodon/api_types/relationships';
|
|
|
|
|
|
|
|
export const apiSubmitAccountNote = (id: string, value: string) =>
|
2024-06-25 13:45:41 +00:00
|
|
|
apiRequestPost<ApiRelationshipJSON>(`v1/accounts/${id}/note`, {
|
2024-06-25 16:53:03 +00:00
|
|
|
comment: value,
|
2024-05-23 09:50:13 +00:00
|
|
|
});
|