Skip to content

Commit

Permalink
Corrected wrong column check in get_by_discord_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Endyya committed Nov 30, 2024
1 parent 7d1e165 commit d041f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SilicaAnimus/google_sheets_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def get_member_by_discord_name(self, discord_name: str) -> MemberInfo:
if len(values[row_index]) < 4:
continue

if values[row_index][3].lower() == discord_name:
if values[row_index][2].lower() == discord_name:
member_info.in_spreadsheet = True
member_info.last_name = values[row_index][0]
member_info.first_name = values[row_index][1]
Expand Down

0 comments on commit d041f44

Please sign in to comment.