forked from Archives/Athou_commafeed
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))
|