aswi2023one-team-to-rule-them-all-gitlab/src/api/itemservice.ts @ a6999074
1 |
import { axiosInstance } from "./api" |
---|---|
2 |
|
3 |
|
4 |
export const getItemRequest = async (itemId : string) => { |
5 |
return await axiosInstance.get( |
6 |
`/item/${itemId}` |
7 |
)
|
8 |
}
|
9 |
|
10 |
// export const getItemConcordancesRequest = async (itemId : string) => {
|
11 |
// return await axiosInstance.get(
|
12 |
// `/api/concordances/${itemId}`
|
13 |
// )
|
14 |
// }
|