diff options
author | Azul <azul@riseup.net> | 2014-02-04 14:00:58 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-02-04 14:00:58 +0100 |
commit | a8194a21cb9f452adb77d24b60434f921c60d496 (patch) | |
tree | 775288199dbc9f85e3bd4525ad8763222433b61b /lib/tapicero_daemon.rb | |
parent | c3cb71ca5e6d32960e4493d85799f3706ea91fe8 (diff) |
refactor: init user_database with a couchrest db
Diffstat (limited to 'lib/tapicero_daemon.rb')
-rw-r--r-- | lib/tapicero_daemon.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tapicero_daemon.rb b/lib/tapicero_daemon.rb index 23248e3..b9f22dc 100644 --- a/lib/tapicero_daemon.rb +++ b/lib/tapicero_daemon.rb @@ -12,7 +12,7 @@ module Tapicero users.created do |hash| logger.debug "Created user " + hash['id'] - user_database(hash['id']).prepare(config) + user_database(hash['id']).prepare end # Sometimes changes log starts with rev 2. So the @@ -21,7 +21,7 @@ module Tapicero # couchrest changes takes this into account. users.updated do |hash| logger.debug "Updated user " + hash['id'] - user_database(hash['id']).prepare(config) + user_database(hash['id']).prepare end users.deleted do |hash| |