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