Create new method to get slugs in oki-api
This commit is contained in:
@@ -27,3 +27,8 @@ export async function jwennTeks() {
|
|||||||
const response = await axios.get(`${OKI_API}/teks?${query}`)
|
const response = await axios.get(`${OKI_API}/teks?${query}`)
|
||||||
return response.data
|
return response.data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function jwennSlugs() {
|
||||||
|
const response = await axios.get(`${OKI_API}/slugs`)
|
||||||
|
return response.data
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user