Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
mael-app committed Jan 21, 2025
2 parents 01c6b29 + 03c1977 commit afadb86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/api/routes/scrapers_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def get_publicscraper_config():
res = []

for student in students:
if not student.microsoft_session:
student.public_scraper_id = None
StudentService.update_student(student)
continue
res.append({
"microsoft_session": decrypt_token(student.microsoft_session),
"tekbetter_token": student.scraper_token,
Expand Down

0 comments on commit afadb86

Please sign in to comment.