Files
Athou_commafeed/commafeed-client/src/app/server/thunks.ts
2025-06-27 16:29:31 +02:00

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))