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

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -1315,8 +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
- # Since we're starting from row 6 (B6:K) and there's no header row
1319
- row_index = i + 6
1320
  break
1321
 
1322
  if row_index:
 
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
+ row_index = i
 
1319
  break
1320
 
1321
  if row_index: