Add jwennAwtisEpiSlug to oki-api
This commit is contained in:
@@ -8,6 +8,11 @@ export async function jwennTeksEpiSlug(slug) {
|
|||||||
return response.data[0]
|
return response.data[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function jwennAwtisEpiSlug(slug) {
|
||||||
|
const response = await axios.get(`${OKI_API}/awtis?slug=${slug}&_where[published_at_null]=false`)
|
||||||
|
return response.data[0]
|
||||||
|
}
|
||||||
|
|
||||||
export async function jwennAwtisKantite() {
|
export async function jwennAwtisKantite() {
|
||||||
const response = await axios.get(`${OKI_API}/awtis/count?_where[published_at_null]=false`)
|
const response = await axios.get(`${OKI_API}/awtis/count?_where[published_at_null]=false`)
|
||||||
return response.data
|
return response.data
|
||||||
|
|||||||
Reference in New Issue
Block a user