Skip to content

Commit

Permalink
Merge pull request #1 from hiroppy/feature/fix-bug
Browse files Browse the repository at this point in the history
use ScheduleModifyEvents in modifyEvents
  • Loading branch information
miyajan committed May 31, 2018
2 parents d290137 + 09cf88e commit 2216f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export default class Schedule {
schedule_event: scheduleEvent
});
});
return this.client.post(this.path, 'ScheduleAddEvents', parameters).then((res: schedule.EventsResponse) => {
return this.client.post(this.path, 'ScheduleModifyEvents', parameters).then((res: schedule.EventsResponse) => {
const events: schedule.EventType[] = [];
if (res.schedule_event !== undefined) {
res.schedule_event.forEach(obj => {
Expand Down

0 comments on commit 2216f3d

Please sign in to comment.