Add All Systems List

This commit is contained in:
Luke Berndt
2023-06-17 09:32:26 -04:00
parent a6d8378b5b
commit 72798e4494
6 changed files with 104 additions and 26 deletions

View File

@@ -138,7 +138,7 @@ export const apiSlice = createApi({
}),
getAllSystems: builder.query({
// The URL for the request is '/fakeApi/posts'
query: () => ({ url: `/admin/systems`, credentials: "include" })
query: () => ({ url: `/admin/users`, credentials: "include" })
}),
createSystem: builder.mutation({
query: (system) => ({