forward progress

This commit is contained in:
Luke Berndt
2023-01-02 21:09:56 -05:00
parent 2afbe72533
commit 5a05ab509c
3 changed files with 8 additions and 3 deletions

View File

@@ -27,9 +27,10 @@ export const apiSlice = createApi({
}),
getCalls: builder.query({
// The URL for the request is '/fakeApi/posts'
query: (shortName) => ({
query: ({shortName,filterType=0,filterCode=0}) => ({
url: `/${shortName}/calls`,
method: "GET" //, params: { filterType, filterCode },
method: "GET",
params: { filterType, filterCode },
})
})
})