Files
oak-gpui/crates
Marshall Bowers 78120cc568 collab: Upsert users by github_user_id instead of github_login (#16706)
This PR makes it so users are upserted by their `github_user_id` instead
of by their `github_login`.

The `github_user_id` is a stable identifier that does not change, while
the `github_login` can change.

In practice we were already using
`get_or_create_user_by_github_account`, which already checks for an
existing user with a `github_user_id` first, so this change doesn't
result in a change in behavior.

This change is primarily for correctness in the event that `create_user`
is called directly, as we want to be upserting by the stable identifier.

Release Notes:

- N/A
2024-08-22 19:15:32 -04:00
..
2024-07-23 15:01:05 -07:00
2024-08-22 12:51:32 -06:00
2024-08-16 10:09:38 -07:00
2024-08-13 23:06:07 -07:00
2024-08-23 00:11:01 +02:00
2024-08-22 12:51:32 -06:00
2024-07-15 17:04:15 -06:00
2024-08-09 13:37:54 -04:00
2024-08-16 10:09:38 -07:00