Sort jwennTeks result

This commit is contained in:
2020-12-13 23:10:03 +01:00
parent 6ab2ef7870
commit e3402415c1
+3 -1
View File
@@ -22,6 +22,8 @@ export async function jwennAwtisPajinasyon(paj) {
} }
export async function jwennTeks() { export async function jwennTeks() {
const response = await axios.get(`${OKI_API}/mizik`) const query = '_sort=titre:ASC'
const response = await axios.get(`${OKI_API}/mizik?${query}`)
return response.data return response.data
} }