Merge commit 'e3f0b955b8
' into kbtopic-remove-quoteMerge
This commit is contained in:
commit
29b904483e
357 changed files with 1914 additions and 1355 deletions
7
app/javascript/mastodon/api/statuses.ts
Normal file
7
app/javascript/mastodon/api/statuses.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { apiRequestGet } from 'mastodon/api';
|
||||
import type { ApiContextJSON } from 'mastodon/api_types/statuses';
|
||||
|
||||
export const apiGetContext = (statusId: string) =>
|
||||
apiRequestGet<ApiContextJSON>(
|
||||
`v1/statuses/${statusId}/context?with_reference=1`,
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue