Add jwennTeksEpiUserId to oki-api
This commit is contained in:
@@ -33,6 +33,13 @@ export async function jwennTeks() {
|
|||||||
return response.data
|
return response.data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function jwennTeksEpiUserId(userId) {
|
||||||
|
const query = `_sort=tit:ASC&_where[user.id]=${userId}`
|
||||||
|
|
||||||
|
const response = await axios.get(`${OKI_API}/teks?${query}`)
|
||||||
|
return response.data
|
||||||
|
}
|
||||||
|
|
||||||
export async function jwennSlugs() {
|
export async function jwennSlugs() {
|
||||||
const response = await axios.get(`${OKI_API}/slugs`)
|
const response = await axios.get(`${OKI_API}/slugs`)
|
||||||
return response.data
|
return response.data
|
||||||
|
|||||||
Reference in New Issue
Block a user