Skip to content

Commit 268790c

Browse files
author
rohit
committed
use hubot-storage instead of irc
1 parent 5489428 commit 268790c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_attachments/lib/couchdb_datasource.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ IRC.CouchDBDataSource = Ember.Object.extend({
1111
day: 1
1212
});
1313
messagesController.set('date', from);
14-
$.couch.db('irc').view('viewer/messages', {
14+
$.couch.db('hubot-storage').view('viewer/messages', {
1515
success: function(data) {
1616
if (data && data.rows && data.rows.length > 0) {
1717
data.rows.forEach(function(row) {
@@ -29,7 +29,7 @@ IRC.CouchDBDataSource = Ember.Object.extend({
2929

3030
loadDays: function() {
3131
var daysController = this.get('daysController');
32-
$.couch.db('irc').view('viewer/messages', {
32+
$.couch.db('hubot-storage').view('viewer/messages', {
3333
success: function(data) {
3434
if (data && data.rows && data.rows.length > 0) {
3535
data.rows.forEach(function(doc) {

0 commit comments

Comments
 (0)