mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
fix(scheduler): properly formatting when objects for post
This commit is contained in:
parent
8960009643
commit
42d7aa47b4
1 changed files with 2 additions and 3 deletions
|
@ -72,9 +72,8 @@ export default class SchedulerComposerExtension extends ComposerExtension {
|
||||||
delete json.client_id;
|
delete json.client_id;
|
||||||
delete json.id;
|
delete json.id;
|
||||||
json.when = {
|
json.when = {
|
||||||
object: "timespan",
|
start_date: json._start,
|
||||||
start: json._start,
|
end_date: json._end,
|
||||||
end: json._end,
|
|
||||||
}
|
}
|
||||||
delete json._start
|
delete json._start
|
||||||
delete json._end
|
delete json._end
|
||||||
|
|
Loading…
Reference in a new issue