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