Skip to content

fix(email): update Polarsteps API to v10.6.0 - #608

Merged
kaifcodec merged 1 commit into
mainfrom
fix/polarsteps-api-update
Aug 28, 2026
Merged

fix(email): update Polarsteps API to v10.6.0#608
kaifcodec merged 1 commit into
mainfrom
fix/polarsteps-api-update

Conversation

@kaifcodec

Copy link
Copy Markdown
Owner

Updates the polarsteps email_scan module to use their new API endpoint (/api/users/validation/unique).

Changes:

  • Updates User-Agent and custom polarsteps headers to match app version 10.6.0.
  • Dynamically generates a random polarsteps-device-id on each request using secrets.token_hex(8) to avoid device bans.
  • Migrates the parsing logic to handle the new JSON response format ({"is_unique": true/false}) rather than the old raw text format.
@kaifcodec kaifcodec added the bug fix Fixed a bug in existing files label Aug 27, 2026

@json-hunter07 json-hunter07 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The issue is fixed!

@kaifcodec
kaifcodec merged commit 3984971 into main Aug 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fixed a bug in existing files

2 participants