import ApplicationAdapter from 'web-client/adapters/application';

export default ApplicationAdapter.extend({
  apiVersion: 5,

  queryRecord(store, type, query={}) {
    return this.request('/kraken/recommendations/videos/trending', 'get', query).then(
      (response) => response,
      () => ({ trending_videos: [] })
    );
  }
});
