diff --git a/lib/amazon/mws/report.rb b/lib/amazon/mws/report.rb index 188b5b2..8db6268 100644 --- a/lib/amazon/mws/report.rb +++ b/lib/amazon/mws/report.rb @@ -253,11 +253,11 @@ def manage_report_schedule(report_type, schedule, params={}) response = get("/", { "Action" => "ManageReportSchedule", - "Schedule" => schedule, - "ReportType" => report_type + "Schedule" => SCHEDULE[schedule], + "ReportType" => REPORT_TYPES[report_type] }) - ManageReportScheduleResponse.format(reponse) + ManageReportScheduleResponse.format(response) end # GetReportScheduleList @@ -307,4 +307,4 @@ def get_report_schedule_count(params = {}) # end end -end \ No newline at end of file +end