2.1.0
What's Changed
Refactor user handling API logic and integrate external API requests
- Added support for differentiating between user creation and token update.
- Used
axiosto handle external API calls to/userendpoint.- For email-based requests, handled as user creation.
- For token-based requests, handled as token update.
- Improved error handling with detailed response status and messages.
- Enforced
POSTmethod requirement for the handler. - Added API key validation via environment variable for secure requests.
- Consolidated logic to return external API responses directly to the client.
Full Changelog: 2.0.1...2.1.0