fix(scheduler): properly formatting when objects for post

This commit is contained in:
Evan Morikawa 2016-04-09 21:47:52 -04:00
parent 8960009643
commit 42d7aa47b4

View file

@ -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