fix: wrong variable name caused by previous merge
This commit is contained in:
parent
b0002334d1
commit
ca7a26e119
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ export function usePublish(options: {
|
|||
}
|
||||
|
||||
let scheduledAt
|
||||
if (draft.value.params.scheduledAt)
|
||||
scheduledAt = new Date(draft.value.params.scheduledAt).toISOString()
|
||||
if (draftItem.value.params.scheduledAt)
|
||||
scheduledAt = new Date(draftItem.value.params.scheduledAt).toISOString()
|
||||
|
||||
const payload = {
|
||||
...draftItem.value.params,
|
||||
|
|
|
|||
Loading…
Reference in a new issue