fix convertDateToAPI โครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-13 15:18:54 +07:00
parent 7e6878a1b2
commit a8fdca1138

View file

@ -18,6 +18,7 @@ const {
hideLoader,
messageError,
success,
convertDateToAPI,
} = useCounterMixin();
/**
@ -52,7 +53,7 @@ function onSubmit() {
showLoader();
http
.put(config.API.orgSetDateTime(store.draftId as string), {
orgPublishDate: dateTime.value,
orgPublishDate: convertDateToAPI(dateTime.value),
})
.then(async () => {
await props.fetchActive();