Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azureadb2c/Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.1'
ruby '>= 3.0'

gem 'optparse'
gem 'date'
Expand Down
2 changes: 1 addition & 1 deletion azureadb2c/import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def map_user(id, azure_user, options)
end

# Incoming format is in ISO string, need to convert to epoch milliseconds for FusionAuth
user["insertInstant"] = Time.parse(azure_user["createdDateTime"]).to_i;
user["insertInstant"] = Time.parse(azure_user["createdDateTime"]).to_i * 1000;

# Preserve all Azure identities for future reference
user["data"] = {}
Expand Down