From ca7a26e1191a5b448e33dd790c6b5f58c9c0ec72 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sat, 1 Feb 2025 16:55:05 +0900 Subject: [PATCH] fix: wrong variable name caused by previous merge --- composables/masto/publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composables/masto/publish.ts b/composables/masto/publish.ts index 3d611a79..f6dd9df8 100644 --- a/composables/masto/publish.ts +++ b/composables/masto/publish.ts @@ -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,