diff --git a/voice/retrieve-info-for-all-calls.rb b/voice/retrieve-info-for-all-calls.rb index dd2b209..4b65bfe 100644 --- a/voice/retrieve-info-for-all-calls.rb +++ b/voice/retrieve-info-for-all-calls.rb @@ -15,7 +15,7 @@ response = client.voice.list({date_start: yesterday.utc.iso8601, date_end: now.utc.iso8601}) -calls = response._embedded.voice +calls = response._embedded.calls calls.each do |call| puts call.inspect end \ No newline at end of file