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

export default ApplicationAdapter.extend({
  apiVersion: 5,

  queryRecord(store, type, query={}) {
    return this.request('/kraken/streams/recent', 'get', query).then(
      (response) => response,
      () => ({ recently_watched_streams: [] })
    );
  }
});
