Skip to content

feat(line): chat-based 6-digit linking codes - #83

Merged
CropWatchDevelopment merged 1 commit into
masterfrom
develop
Jul 29, 2026
Merged

CropWatchDevelopment merged 1 commit into
masterfrom
develop

Conversation

@CropWatchDevelopment

Copy link
Copy Markdown
Owner

POST /v1/line/link-code mints a single-use 6-digit code (10-min expiry, per-user, shares cw_line_link_nonces); the webhook message handler links the sender when an unbound user sends a valid code, replies with an invalid/expired notice otherwise, and still falls back to the account-link button for non-code messages. Link-button DM text now mentions both paths.

POST /v1/line/link-code mints a single-use 6-digit code (10-min expiry,
per-user, shares cw_line_link_nonces); the webhook message handler links
the sender when an unbound user sends a valid code, replies with an
invalid/expired notice otherwise, and still falls back to the
account-link button for non-code messages. Link-button DM text now
mentions both paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api Ready Ready Preview, Comment Jul 29, 2026 11:28am

Request Review

@CropWatchDevelopment
CropWatchDevelopment merged commit 5164e4a into master Jul 29, 2026
5 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
Production 5420a941 Deployed Jul 29, 2026 by CropWatchDevelopment via build #22
Preview 5420a941 Deployed Jul 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant