api shows wrong email address #2314

Closed
opened 2025-11-02 04:32:37 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @ryanburnette on GitHub (Sep 9, 2018).

  • Gitea version (or commit ref): 1.5.1
  • Git version:
  • Operating system: linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

The API shows my email address as ryanburnette@code.ryanburnette.com, but I changed it in my profile. Is this an error?

[
    {
        "id": 37,
        "url": "https://code.ryanburnette.com/api/v1/repos/ryanburnette/decently-smart-target/issues/1",
        "number": 1,
        "user": {
            "id": 1,
            "login": "ryanburnette",
            "full_name": "Ryan Burnette",
            "email": "ryanburnette@code.ryanburnette.com",
            "avatar_url": "https://secure.gravatar.com/avatar/80ca3efd5f4440f4f7103e0a3ad932bb?d=identicon",
            "language": "en-US",
            "username": "ryanburnette"
        },
        "title": "Test",
        "body": "This is a test issue.",
        "labels": [],
        "milestone": null,
        "assignee": null,
        "assignees": null,
        "state": "closed",
        "comments": 0,
        "created_at": "2018-09-09T15:55:11Z",
        "updated_at": "2018-09-09T15:55:47Z",
        "closed_at": null,
        "due_date": null,
        "pull_request": null
    }
]

Screenshots

Originally created by @ryanburnette on GitHub (Sep 9, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.5.1 - Git version: - Operating system: linux - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description The API shows my email address as ryanburnette@code.ryanburnette.com, but I changed it in my profile. Is this an error? ```json [ { "id": 37, "url": "https://code.ryanburnette.com/api/v1/repos/ryanburnette/decently-smart-target/issues/1", "number": 1, "user": { "id": 1, "login": "ryanburnette", "full_name": "Ryan Burnette", "email": "ryanburnette@code.ryanburnette.com", "avatar_url": "https://secure.gravatar.com/avatar/80ca3efd5f4440f4f7103e0a3ad932bb?d=identicon", "language": "en-US", "username": "ryanburnette" }, "title": "Test", "body": "This is a test issue.", "labels": [], "milestone": null, "assignee": null, "assignees": null, "state": "closed", "comments": 0, "created_at": "2018-09-09T15:55:11Z", "updated_at": "2018-09-09T15:55:47Z", "closed_at": null, "due_date": null, "pull_request": null } ] ``` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the modifies/api label 2025-11-02 04:32:37 -06:00
Author
Owner

@adelowo commented on GitHub (Sep 24, 2018):

I couldn’t replicate this though... Are there more steps to take than just updating the email address?

@adelowo commented on GitHub (Sep 24, 2018): I couldn’t replicate this though... Are there more steps to take than just updating the email address?
Author
Owner

@ryanburnette commented on GitHub (Sep 24, 2018):

@adelowo You got the correct email address in the API response?

@ryanburnette commented on GitHub (Sep 24, 2018): @adelowo You got the correct email address in the API response?
Author
Owner

@adelowo commented on GitHub (Sep 24, 2018):

Yes, I did... I got the correct email in the "issue created" webhook

@adelowo commented on GitHub (Sep 24, 2018): Yes, I did... I got the correct email in the "issue created" webhook
Author
Owner

@ryanburnette commented on GitHub (Sep 24, 2018):

Hmm. Maybe try changing your email then see if you get the old one.

@ryanburnette commented on GitHub (Sep 24, 2018): Hmm. Maybe try changing your email then see if you get the old one.
Author
Owner

@ryanburnette commented on GitHub (Sep 28, 2018):

@adelowo My apologies for the suggestion. This is an issue on my instance... so some set of circumstances lead to it.

@ryanburnette commented on GitHub (Sep 28, 2018): @adelowo My apologies for the suggestion. This is an issue on my instance... so some set of circumstances lead to it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2314