mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
5 lines
232 B
TypeScript
5 lines
232 B
TypeScript
import { createAppAsyncThunk } from "@/app/async-thunk"
|
|
import { client } from "@/app/client"
|
|
|
|
export const reloadServerInfos = createAppAsyncThunk("server/infos", async () => await client.server.getServerInfos().then(r => r.data))
|