lib/omniauth/strategies/dailycred.rb in dailycred-0.1.461 vs lib/omniauth/strategies/dailycred.rb in dailycred-0.2.0

- old
+ new

@@ -67,9 +67,11 @@ json["identities"].each do |k, v| @duser[k] = v @duser[k][:access_token] = json["access_tokens"][k] end if !json["identities"].nil? pp @duser if options[:verbose] + created = json['created'] / 1000 + @duser['created'] = DateTime.strptime(created.to_s, '%s') @duser.delete("id") @duser end \ No newline at end of file