lib/mws/subscriptions/client.rb in peddler-0.12.5 vs lib/mws/subscriptions/client.rb in peddler-0.12.7
- old
+ new
@@ -135,10 +135,10 @@
# @param sqs_queue_url [String]
# @param enabled [Boolean]
# @param marketplace_id [String]
# @return [Peddler::XMLParser]
def update_subscription(notification_type, sqs_queue_url, enabled, marketplace_id = marketplace_id())
- operation('CreateSubscription')
+ operation('UpdateSubscription')
.add('MarketplaceId' => marketplace_id)
.add(build_subscription(notification_type, sqs_queue_url, enabled))
run
end