lib/gooddata/models/metadata/scheduled_mail.rb in gooddata-0.6.49 vs lib/gooddata/models/metadata/scheduled_mail.rb in gooddata-0.6.50
- old
+ new
@@ -1,8 +1,8 @@
# encoding: UTF-8
#
-# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
+# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
require_relative 'scheduled_mail/dashboard_attachment'
require_relative 'scheduled_mail/report_attachment'
@@ -121,10 +121,10 @@
ScheduledMail.convert_attachment(key, body)
end
scheduled_mail[:scheduledMail][:content][:attachments] = attachments
- client.create(ScheduledMail, GoodData::Helpers.deep_stringify_keys(scheduled_mail), :project => project)
+ client.create(ScheduledMail, GoodData::Helpers.stringify_keys(scheduled_mail), :project => project)
end
end
# Add attachment
#