saq1b commited on
Commit
2848062
·
verified ·
1 Parent(s): 79d4dc3

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -1315,7 +1315,7 @@ async def like_team_member(data: TeamMemberLike):
1315
  # Find the row with matching discord_user_id (column C in the sheet)
1316
  for i, row in enumerate(values):
1317
  if len(row) > 1 and row[1] == discord_user_id:
1318
- # Add 1 for header row and +5 since we start from row 6
1319
  row_index = i + 6
1320
  break
1321
 
 
1315
  # Find the row with matching discord_user_id (column C in the sheet)
1316
  for i, row in enumerate(values):
1317
  if len(row) > 1 and row[1] == discord_user_id:
1318
+ # Since we're starting from row 6 (B6:K) and there's no header row
1319
  row_index = i + 6
1320
  break
1321