Replace updatedAt by updated_at

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-05 17:59:06 +04:00
parent 51879ba5aa
commit 8d45df156c
+1 -1
View File
@@ -20,7 +20,7 @@ export async function jwennTeksKantite() {
export async function jwennAwtisPajinasyon(paj) {
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}`)
return response.data