Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add ConvertUserLoginType func to codersdk#17784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

betterlmy
Copy link
Contributor

🚀 New Feature

AddedConvertUserLoginType(ctx, user, req) method to support converting the login type for a specified user.

📌 Background

The existingConvertLoginType method only supports converting the current user's login type (via the /api/v2/users/me/convert-login endpoint).

In our use case, we needed to convert the login type for other users programmatically, which the SDK did not support.

This new method constructs the endpoint dynamically using the provided username, enabling conversion for any user.

✅ Compatibility

This is an additive change and does not modify any existing functionality.

The original ConvertLoginType remains unchanged.

@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelMay 13, 2025
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedMay 13, 2025
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@betterlmybetterlmyforce-pushed thefeature/add-ConvertUserLoginType-function branch from2f29b2d to955b588CompareMay 13, 2025 09:38
@betterlmy
Copy link
ContributorAuthor

I have read the CLA Document and I hereby sign the CLA

cdrci2 added a commit to coder/cla that referenced this pull requestMay 13, 2025
@betterlmy
Copy link
ContributorAuthor

recheck

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelMay 21, 2025
@matifalimatifali requested review fromEmyrk andmafredriMay 21, 2025 13:15
@github-actionsgithub-actionsbot removed the staleThis issue is like stale bread. labelMay 22, 2025
@betterlmybetterlmyforce-pushed thefeature/add-ConvertUserLoginType-function branch from955b588 tofb695d6CompareMay 22, 2025 05:57
@betterlmybetterlmy requested a review fromEmyrkMay 22, 2025 06:02
@betterlmy
Copy link
ContributorAuthor

Hi@Emyrk@mafredri@matifali

Could one of you please take a look at this PR when you have a moment?

Thanks!

Emyrk reacted with heart emojibetterlmy reacted with eyes emoji

@EmyrkEmyrk merged commit71a647b intocoder:mainMay 27, 2025
29 checks passed
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 27, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@betterlmybetterlmy

Labels
communityPull Requests and issues created by the community.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@betterlmy@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp