[PR #635] [MERGED] feat: support admin api bind address to user #670

Closed
opened 2026-02-26 21:32:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/635
Author: @dreamhunter2333
Created: 4/16/2025
Status: Merged
Merged: 4/16/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • e785a2f feat: support admin api bind address to user

📊 Changes

1 file changed (+10 additions, -2 deletions)

View changed files

📝 worker/src/admin_api/admin_user_api.ts (+10 -2)

📄 Description

User description

#628


PR Type

enhancement


Description

  • Add API to bind user email to address.

  • Support binding by user email and address name.

  • Enhance bindAddress method in admin_user_api.ts.


Changes walkthrough 📝

Relevant files
Enhancement
admin_user_api.ts
Enhance `bindAddress` method to support email and address name.

worker/src/admin_api/admin_user_api.ts

  • Enhanced bindAddress method to support binding by email and address
    name.
  • Added logic to fetch user ID by email if not provided.
  • Added logic to fetch address ID by name if not provided.
  • +10/-2   

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/635 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 4/16/2025 **Status:** ✅ Merged **Merged:** 4/16/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`e785a2f`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/e785a2f2c688520c148807e46a2f80e32d898de4) feat: support admin api bind address to user ### 📊 Changes **1 file changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `worker/src/admin_api/admin_user_api.ts` (+10 -2) </details> ### 📄 Description ### **User description** #628 ___ ### **PR Type** enhancement ___ ### **Description** - Add API to bind user email to address. - Support binding by user email and address name. - Enhance `bindAddress` method in `admin_user_api.ts`. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>admin_user_api.ts</strong><dd><code>Enhance `bindAddress` method to support email and address name.</code></dd></summary> <hr> worker/src/admin_api/admin_user_api.ts <li>Enhanced <code>bindAddress</code> method to support binding by email and address <br>name.<br> <li> Added logic to fetch user ID by email if not provided.<br> <li> Added logic to fetch address ID by name if not provided. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/635/files#diff-2843fd3d54aa9aa8054d2530e84a06de3068c31fd5c7d5246db5d2a4234a6196">+10/-2</a>&nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:20 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#670
    No description provided.