lib/ayadn/authorize.rb in ayadn-1.1.0 vs lib/ayadn/authorize.rb in ayadn-1.1.1

- old
+ new

@@ -26,10 +26,10 @@ puts "Ok! Creating Ayadn folders...\n".color(:green) create_config_folders(user) puts "Saving user token...\n".color(:green) create_token_file(user) puts "Creating user account for #{user.handle}...\n".color(:green) - accounts_db = Daybreak::DB.new("#{user.home_path}/accounts.db") + accounts_db = Databases.init("#{user.home_path}/accounts.db") create_account(user, accounts_db) end def install puts "Creating api and config files...\n".color(:green)