import ApplicationAdapter from './application';
import injectService from 'ember-service/inject';

export default ApplicationAdapter.extend({
  api: injectService(),

  findRecord: function(store, type, id) {
    return this.get('api').request('get', `/kraken/streams/${id}`);
  }
});
