fix: wrong variable name caused by previous merge

This commit is contained in:
TAKAHASHI Shuuji 2025-02-01 16:55:05 +09:00
parent b0002334d1
commit ca7a26e119

View file

@ -87,8 +87,8 @@ export function usePublish(options: {
} }
let scheduledAt let scheduledAt
if (draft.value.params.scheduledAt) if (draftItem.value.params.scheduledAt)
scheduledAt = new Date(draft.value.params.scheduledAt).toISOString() scheduledAt = new Date(draftItem.value.params.scheduledAt).toISOString()
const payload = { const payload = {
...draftItem.value.params, ...draftItem.value.params,