minhnt-dev: add build node with arr

This commit is contained in:
MoreStrive
2024-06-17 09:55:33 +07:00
parent ecf4512cd3
commit c2b9208746
4 changed files with 27 additions and 6 deletions
+4 -4
View File
@@ -94,11 +94,11 @@ export const listArticleCondition = async (event: H3Event) => {
try {
const payload = await readBody<any>(event)
const { apiUrl } = useRuntimeConfig().public
const { items }: any = await $fetch(`${apiUrl}/cms/digital-article/condition`, {
const { items }: any = await $fetch(`${apiUrl}/cms/article/condition`, {
method: "POST",
headers: {
Site: 1
},
headers: new Headers({
site: '1' || 1,
}),
body: {
payload
}