Replace updatedAt by updated_at
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ export async function jwennTeksKantite() {
|
|||||||
|
|
||||||
export async function jwennAwtisPajinasyon(paj) {
|
export async function jwennAwtisPajinasyon(paj) {
|
||||||
const start = AWTIS_POU_CHAK_PAJ * (paj - 1)
|
const start = AWTIS_POU_CHAK_PAJ * (paj - 1)
|
||||||
const query = `_sort=updatedAt:DESC&_start=${start}&_limit=${AWTIS_POU_CHAK_PAJ}&_where[published_at_null]=false`
|
const query = `_sort=updated_at:DESC&_start=${start}&_limit=${AWTIS_POU_CHAK_PAJ}&_where[published_at_null]=false`
|
||||||
|
|
||||||
const response = await axios.get(`${OKI_API}/awtis?${query}`)
|
const response = await axios.get(`${OKI_API}/awtis?${query}`)
|
||||||
return response.data
|
return response.data
|
||||||
|
|||||||
Reference in New Issue
Block a user