kopia lustrzana https://github.com/elk-zone/elk
feat: support `scheduledAt` param in `getDefaultDraft()` function
rodzic
9fabaad1ec
commit
65d9e37b95
|
@ -37,6 +37,7 @@ export function getDefaultDraftItem(options: Partial<Mutable<mastodon.rest.v1.Cr
|
|||
language,
|
||||
mentions,
|
||||
poll,
|
||||
scheduledAt,
|
||||
} = options
|
||||
|
||||
return {
|
||||
|
@ -45,6 +46,7 @@ export function getDefaultDraftItem(options: Partial<Mutable<mastodon.rest.v1.Cr
|
|||
params: {
|
||||
status: status || '',
|
||||
poll,
|
||||
scheduledAt,
|
||||
inReplyToId,
|
||||
visibility: getDefaultVisibility(visibility || 'public'),
|
||||
sensitive: sensitive ?? false,
|
||||
|
|
Ładowanie…
Reference in New Issue