Skip to content
Snippets Groups Projects
Commit 20128693 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Use leading periods on UserFormatter#find_by_external_uid

parent 4ff491a1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -44,8 +44,9 @@ module Gitlab
 
User.select(:id)
.joins(:identities).where(identities[:provider].eq(:github)
.and(identities[:extern_uid].eq(id))).
first.try(:id)
.and(identities[:extern_uid].eq(id)))
.first
.try(:id)
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment