fix convertDateToAPI โครงสร้าง
This commit is contained in:
parent
7e6878a1b2
commit
a8fdca1138
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue