Mastodon/app/javascript/flavours/glitch/api/async_refreshes.ts
Eugen Rochko a8432560ba [Glitch] Add button to load new replies in web UI
Port 14a781fa24c969a6be4f2ccc3e6e5c9f83db7437 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-23 18:49:25 +02:00

6 lines
262 B
TypeScript

import { apiRequestGet } from 'flavours/glitch/api';
import type { ApiAsyncRefreshJSON } from 'flavours/glitch/api_types/async_refreshes';
export const apiGetAsyncRefresh = (id: string) =>
apiRequestGet<ApiAsyncRefreshJSON>(`v1_alpha/async_refreshes/${id}`);