This commit is contained in:
Viet An
2026-06-04 16:12:51 +07:00
parent 2a1f85c2af
commit 3cfa103306
19 changed files with 106 additions and 106 deletions

View File

@@ -1516,9 +1516,7 @@ export default defineNuxtPlugin((nuxtApp) => {
}
try {
const response = await $fetch(url.toString(), {
method: "GET",
});
const response = await $fetch(url.toString());
if (response && response.pdf) {
const pdfUrl = `${apiBaseUrl}static/contract/${response.pdf}`;