Skip to content

Commit 8f7b514

Browse files
committed
Name matching should be uppercase
1 parent 5e30a38 commit 8f7b514

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/openhound_github/models/external_identity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _maps_to_user_edges(self):
207207

208208
# # GH_MapsToUser → foreign IdP user node (match by name)
209209
if foreign_kind and foreign_username:
210-
match_with = PropertyMatch(key="name", value=foreign_username)
210+
match_with = PropertyMatch(key="name", value=foreign_username.upper())
211211
yield Edge(
212212
kind=ek.MAPS_TO_USER,
213213
start=EdgePath(value=self.node_id, match_by="id"),
@@ -219,7 +219,7 @@ def _maps_to_user_edges(self):
219219

220220
# SyncedToGHUser: foreign IdP user → GitHub user (traversable, with composition)
221221
if foreign_kind and foreign_username and self.node_id:
222-
match_with = PropertyMatch(key="name", value=foreign_username)
222+
match_with = PropertyMatch(key="name", value=foreign_username.upper())
223223

224224
gh_id = self.node_id.upper()
225225
q = (

0 commit comments

Comments
 (0)