lib/kaltura_box/client.rb in kaltura_box-0.0.2 vs lib/kaltura_box/client.rb in kaltura_box-0.0.3
- old
+ new
@@ -27,10 +27,10 @@
def generate_session_key
self.update_session
raise "Missing Administrator Secret" unless KalturaBox.config.administrator_secret
begin
- @session_key = @client.session_service.start(KalturaBox.config.administrator_secret, '', Kaltura::KalturaSessionType::ADMIN)
+ @session_key = @client.session_service.start(KalturaBox.config.administrator_secret, '', Kaltura::KalturaSessionType::ADMIN, KalturaBox.config.partner_id, 315360000)
rescue Kaltura::KalturaAPIError => e
puts e.message
end
end