Upload main.py
Browse files
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 |
-
#
|
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 |
|