Skip to content

Fix ugig profile endpoint#407

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
okentao:fix-ugig-profile-endpoint
May 23, 2026
Merged

Fix ugig profile endpoint#407
ralyodio merged 1 commit into
profullstack:masterfrom
okentao:fix-ugig-profile-endpoint

Conversation

@okentao
Copy link
Copy Markdown
Contributor

@okentao okentao commented May 22, 2026

Summary

  • Update the ugig social connector to call GET /api/profile instead of the now-failing /api/users/me endpoint.
  • Read the current response shape from data.profile while keeping the old flat shape as a fallback.
  • Add a regression test for the live endpoint path and nested profile response.

Verification

  • Live ugig API check: /api/users/me returned 404, while /api/profile returned the authenticated profile payload.
  • corepack pnpm --filter @profullstack/sh1pt-social-ugig typecheck
  • corepack pnpm exec vitest run packages/social/ugig/src/index.test.ts

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

3 similar comments
@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@ralyodio ralyodio merged commit 4584d2b into profullstack:master May 23, 2026
4 checks passed
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.

2 participants